commit | a693447ceadff49155e260cbbaef4e09c926cab5 | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Wed Feb 24 00:29:44 2010 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Fri Mar 12 00:18:08 2010 +0100 |
tree | cebd86b50e6af4e8e020b6c55df8f81e50dfed33 | |
parent | 3920bbedcf74a073bc72950a51de75af6faa2f06 [diff] |
cmd_mtdparts.c: prevent printbuffer overflows The length of configured MTDPARTS_DEFAULT string could be greater than console printbuffer size. Replace printf() by puts() to avoid potential buffer overflows. Signed-off-by: Anatolij Gustschin <agust@denx.de>