Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Michal Marek
Dne 7.5.2013 16:06, Yann E. MORIN napsal(a): > It's strange that a kconfig-related change did not land in your tree > before getting mainline... It's quite simple. I wanted to look at the patch, but Andrew beat me to it. I am not saying that I would have spotted the null pointer deref myself :-).

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Yann E. MORIN
Michal, All, On Tue, May 07, 2013 at 03:47:18PM +0200, Michal Marek wrote: > On 7.5.2013 15:21, Yann E. MORIN wrote: > > Li, All, > > > > On Tue, May 07, 2013 at 10:40:59AM +0800, Li Zefan wrote: > >> Searching PPC_EFIKA results segmentation fault, and it's because > >> get_symbol_prop() returns

[PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Michal Marek
From: Li Zefan Searching PPC_EFIKA results 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/Kcon

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Michal Marek
On 7.5.2013 15:21, Yann E. MORIN wrote: > Li, All, > > On Tue, May 07, 2013 at 10:40:59AM +0800, Li Zefan wrote: >> Searching PPC_EFIKA results segmentation fault, and it's because >> get_symbol_prop() returns NULL. >> >> In this case CONFIG_PPC_EFIKA is defined in arch/powerpc/platforms/ >> 52xx/

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Yann E. MORIN
Li, All, On Tue, May 07, 2013 at 10:40:59AM +0800, Li Zefan wrote: > Searching PPC_EFIKA results 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 m

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Borislav Petkov
On Tue, May 07, 2013 at 10:40:59AM +0800, Li Zefan wrote: > Searching PPC_EFIKA results 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

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-06 Thread Libo Chen
On 2013/5/7 10:40, Li Zefan wrote: > Searching PPC_EFIKA results 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 whe

[PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-06 Thread Li Zefan
Searching PPC_EFIKA results 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_