There are other useful references which worth to add:

http://www.osvdb.org/show/osvdb/103521
http://www.devttys0.com/2014/02/wrt120n-fprintf-stack-overflow/