Re: [PATCH] kconfig: fix segfault when detecting recursive dependency

From: Michal Marek
Date: Sat Aug 14 2010 - 18:38:29 EST


Dne 14.8.2010 14:44, Sam Ravnborg napsal(a):
> From 705dbd8a31520722bda78e1bc731e2880f8df0ff Mon Sep 17 00:00:00 2001
> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Date: Sat, 14 Aug 2010 14:40:00 +0200
> Subject: [PATCH] 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.

Applied, thanks.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/