kernel_optimize_test/scripts/kconfig
Ben Hutchings 3ba4162115 kconfig: Avoid buffer underrun in choice input
Commit 40aee729b3 ('kconfig: fix default value for choice input')
fixed some cases where kconfig would select the wrong option from a
choice with a single valid option and thus enter an infinite loop.

However, this broke the test for user input of the form 'N?', because
when kconfig selects the single valid option the input is zero-length
and the test will read the byte before the input buffer.  If this
happens to contain '?' (as it will in a mips build on Debian unstable
today) then kconfig again enters an infinite loop.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@kernel.org [2.6.17+]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-04-24 08:24:31 -07:00
..
lxdialog
.gitignore
check.sh
conf.c kconfig: Avoid buffer underrun in choice input 2011-04-24 08:24:31 -07:00
confdata.c kconfig: fix typos 2010-12-15 14:42:11 +01:00
expr.c kconfig: Make expr_copy() take a const argument 2010-12-21 17:59:16 +01:00
expr.h Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-01-10 08:28:17 -08:00
gconf.c
gconf.glade
images.c
kconfig_load.c
kxgettext.c
lex.zconf.c_shipped
lkc_proto.h
lkc.h Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-01-10 08:28:17 -08:00
Makefile
mconf.c
menu.c Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-01-10 08:28:17 -08:00
nconf.c nconf: handle comment entries within choice/endchoice 2011-01-07 15:45:28 +01:00
nconf.gui.c
nconf.h
POTFILES.in
qconf.cc
qconf.h
streamline_config.pl trivial: Fix Steven's Copyright typos 2011-02-08 17:14:31 -05:00
symbol.c Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-01-10 08:28:17 -08:00
util.c
zconf.gperf kconfig: add an option to determine a menu's visibility 2010-11-22 11:27:17 -02:00
zconf.hash.c_shipped kconfig: regen parser 2010-11-22 11:27:32 -02:00
zconf.l
zconf.tab.c_shipped kconfig: regen parser 2010-11-22 11:27:32 -02:00
zconf.y kconfig: add an option to determine a menu's visibility 2010-11-22 11:27:17 -02:00