diff options
author | John Schmoller <jschmoller@xes-inc.com> | 2010-03-12 09:49:23 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-21 22:44:58 +0100 |
commit | 6475b9f91bd33bfd38418469cabdcfc0fefbd848 (patch) | |
tree | dc8baee5e589fac670329f570a91fec52dd9c38f /include/mtd_node.h | |
parent | e070a56c777f1fd05950e1bc63483c19decd6f78 (diff) | |
download | u-boot-imx-6475b9f91bd33bfd38418469cabdcfc0fefbd848.zip u-boot-imx-6475b9f91bd33bfd38418469cabdcfc0fefbd848.tar.gz u-boot-imx-6475b9f91bd33bfd38418469cabdcfc0fefbd848.tar.bz2 |
console: Fix console buffer overrun
When CONFIG_SYS_CBSIZE equals MAX_CMDBUF_SIZE, a command string of
maximum length will overwrite part of the history buffer, causing the
board to die. Expand the console_buffer and hist_lines buffer by one
character each to hold the missing NULL char.
Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Diffstat (limited to 'include/mtd_node.h')
0 files changed, 0 insertions, 0 deletions