commit | 99695c2d7a6cc05a360ada5037929dfdbbb39183 | [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 | b69fd9d6cfd9cd88a2f46a2ef8f3a0008664ac53 [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>