linux-stable/kernel/debug/kdb
John Blackwood f7c82d5a3c kdb: A fix for kdb command table expansion
When locally adding in some additional kdb commands, I stumbled
across an issue with the dynamic expansion of the kdb command table.
When the number of kdb commands exceeds the size of the statically
allocated kdb_base_commands[] array, additional space is allocated in
the kdb_register_repeat() routine.

The unused portion of the newly allocated array was not being initialized
to zero properly and this would result in segfaults when help '?' was
executed or when a search for a non-existing command would traverse the
command table beyond the end of valid command entries and then attempt
to use the non-zeroed area as actual command entries.

Signed-off-by: John Blackwood <john.blackwood@ccur.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2013-03-02 08:52:16 -06:00
..
.gitignore
kdb_bp.c kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint 2012-03-22 15:07:16 -05:00
kdb_bt.c kdb: Fix dmesg/bta scroll to quit with 'q' 2012-10-12 06:37:35 -05:00
kdb_cmds kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -05:00
kdb_debugger.c kernel/debug: Make use of KGDB_REASON_NMI 2012-07-31 08:16:43 -05:00
kdb_io.c kdb,vt_console: Fix missed data due to pager overruns 2012-10-12 06:37:35 -05:00
kdb_keyboard.c KDB: Fix usability issues relating to the 'enter' key. 2012-03-22 15:07:15 -05:00
kdb_main.c kdb: A fix for kdb command table expansion 2013-03-02 08:52:16 -06:00
kdb_private.h printk: Remove kdb_syslog_data 2012-07-21 10:34:00 -07:00
kdb_support.c kdb: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:26 +08:00
Makefile kgdboc,keyboard: Keyboard driver for kdb with kgdb 2010-05-20 21:04:24 -05:00