commit | c01e72093a870195f5479cb80f56cb7c4da170a8 | [log] [tgz] |
---|---|---|
author | John Schmoller <jschmoller@xes-inc.com> | Fri Mar 12 09:49:23 2010 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Sun Mar 21 22:44:58 2010 +0100 |
tree | dc8baee5e589fac670329f570a91fec52dd9c38f | |
parent | e3ac2b9a5b96acd404e91b304f360e686c17a098 [diff] |
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>