linux/scripts
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
..
basic kbuild: Fix computing srcversion for modules 2011-03-13 15:59:58 -07:00
coccinelle
dtc Fix common misspellings 2011-03-31 11:26:23 -03:00
genksyms genksyms: Regenerate lexer and parser 2011-03-17 15:13:56 +01:00
kconfig kconfig: Avoid buffer underrun in choice input 2011-04-24 08:24:31 -07:00
ksymoops
mod Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-21 15:55:26 -07:00
package Fix common misspellings 2011-03-31 11:26:23 -03:00
rt-tester Fix common misspellings 2011-03-31 11:26:23 -03:00
selinux SELinux: Auto-generate security_is_socket_class 2011-03-03 15:19:43 -05:00
tracing
.gitignore
bin2c.c
bloat-o-meter bloat-o-meter: include read-only data section in report 2011-03-22 17:44:17 -07:00
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl Fix common misspellings 2011-03-31 11:26:23 -03:00
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig scripts/extract-ikconfig: add xz compression support 2011-02-10 15:23:03 +01:00
gcc-goto.sh
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh Fix common misspellings 2011-03-31 11:26:23 -03:00
get_maintainer.pl get_maintainer.pl: allow "K:" pattern tests to match non-patch text 2011-03-22 17:44:13 -07:00
gfp-translate
headerdep.pl
headers_check.pl
headers_install.pl
headers.sh
kallsyms.c
Kbuild.include
kernel-doc Fix common misspellings 2011-03-31 11:26:23 -03:00
Lindent
Makefile KBuild: silence "'scripts/unifdef' is up to date." 2011-03-17 12:29:20 +01:00
Makefile.build kbuild: Add extra gcc checks 2011-03-09 15:35:35 +01:00
Makefile.clean
Makefile.fwinst
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost Fix common misspellings 2011-03-31 11:26:23 -03:00
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.c ftrace: Add .ref.text as one of the safe areas to trace 2011-03-10 10:34:39 -05:00
recordmcount.h
recordmcount.pl ftrace: Add .ref.text as one of the safe areas to trace 2011-03-10 10:34:39 -05:00
setlocalversion
show_delta
tags.sh Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:13:09 -07:00
unifdef.c
ver_linux
xz_wrap.sh