Skip to content
Snippets Groups Projects
Commit a693447c authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Wolfgang Denk
Browse files

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: default avatarAnatolij Gustschin <agust@denx.de>
parent 3920bbed
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment