aboutsummaryrefslogtreecommitdiff
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2013-05-07 15:56:54 +0200
committerLinus Torvalds <[email protected]>2013-05-07 07:55:36 -0700
commit383da76f5261637b8beacb99a83f5834b14fc432 (patch)
treed22fc5e9d1f8f2ae11b367caf9cbc11fc81cb3bb /scripts/mod/file2alias.c
parent2a437cd36e627752e9cac71bfec6293f1e4e4144 (diff)
menuconfig: fix NULL pointer dereference when searching a symbol
Searching for PPC_EFIKA results in a segmentation fault, and it's because get_symbol_prop() returns NULL. In this case CONFIG_PPC_EFIKA is defined in arch/powerpc/platforms/ 52xx/Kconfig, so it won't be parsed if ARCH!=PPC, but menuconfig knows this symbol when it parses sound/soc/fsl/Kconfig: config SND_MPC52xx_SOC_EFIKA tristate "SoC AC97 Audio support for bbplan Efika and STAC9766" depends on PPC_EFIKA This bug was introduced by commit bcdedcc1afd6 ("menuconfig: print more info for symbol without prompts"). Reported-and-tested-by: Borislav Petkov <[email protected]> Signed-off-by: Li Zefan <[email protected]> Tested-by: Libo Chen <[email protected]> Reviewed-by: "Yann E. MORIN" <[email protected]> Signed-off-by: Michal Marek <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions