From: Sam Ravnborg Date: Sat, 14 Aug 2010 12:40:00 +0000 (+0200) Subject: kconfig: fix segfault when detecting recursive dependency X-Git-Tag: v2.6.36-rc3~45^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3643f849d7da5c12da589beb03c12303fe79b841;p=pandora-kernel.git kconfig: fix segfault when detecting recursive dependency Following sample Kconfig generated a segfault: config FOO bool select PERF_EVENTS if HAVE_HW_BREAKPOINT config PERF_EVENTS bool config HAVE_HW_BREAKPOINT bool depends on PERF_EVENTS Fix by reverting back to a valid property if there was no property on the stack of symbols. The above pattern were seen in sh Kconfig. A fix for the Kconfig file has been sent to the sh folks. Signed-off-by: Sam Ravnborg Signed-off-by: Michal Marek --- Reading git-diff-tree failed