kconfig: fix segv fault in menuconfig
authorSam Ravnborg <sam@ravnborg.org>
Wed, 19 Sep 2007 19:23:09 +0000 (21:23 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Fri, 12 Oct 2007 19:15:32 +0000 (21:15 +0200)
commita67cb1319f53fa68012a23d6ca45279c6bc627f8
tree36a9ca55dd8180ca3583d4dbd22ed8c72fb1f04a
parent48874077ddd6c0c444758059af2cf77c10204ece
kconfig: fix segv fault in menuconfig

With specific configurations requesting help for certain
menu lines caused menuconfig to crash.
This was tracked down to a null pointer bug.
Thanks to "Miles Lane" <miles.lane@gmail.com> for inital reporting
and to Gabriel C <nix.or.die@googlemail.com> for the backtrace
that helped me locating the bug.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/mconf.c
scripts/kconfig/util.c