]> Git Repo - J-u-boot.git/commit - common/cmd_mtdparts.c
cmd_mtdparts.c: prevent printbuffer overflows
authorAnatolij Gustschin <[email protected]>
Tue, 23 Feb 2010 23:29:44 +0000 (00:29 +0100)
committerWolfgang Denk <[email protected]>
Thu, 11 Mar 2010 23:18:08 +0000 (00:18 +0100)
commita693447ceadff49155e260cbbaef4e09c926cab5
treecebd86b50e6af4e8e020b6c55df8f81e50dfed33
parent3920bbedcf74a073bc72950a51de75af6faa2f06
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 <[email protected]>
common/cmd_mtdparts.c
This page took 0.032649 seconds and 4 git commands to generate.