kconfig: delay symbol direct dependency initialization
commitff5ff6060bf880aac233e68dd666cbe9e39ec620
authorArnaud Lacombe <lacombar@gmail.com>
Sun, 26 Sep 2010 20:22:03 +0000 (26 16:22 -0400)
committerMichal Marek <mmarek@suse.cz>
Mon, 4 Oct 2010 13:13:13 +0000 (4 15:13 +0200)
tree1798820aabeb29694ba46eed2a3516457ce57b5a
parent8558f59edf935cf5ee5ffc29a9e9458fd9a71be1
kconfig: delay symbol direct dependency initialization

This fixes the use-after-free and associated crash in kconfig introduced
in commit 246cf9c26bf11f2bffbecea6e5bd222eee7b1df8.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/expr.h
scripts/kconfig/menu.c