summaryrefslogtreecommitdiff
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-09-27 00:22:03 +0400
committerMichal Marek <mmarek@suse.cz>2010-10-04 17:13:13 +0400
commitff5ff6060bf880aac233e68dd666cbe9e39ec620 (patch)
tree1798820aabeb29694ba46eed2a3516457ce57b5a /scripts/kconfig/expr.h
parent8558f59edf935cf5ee5ffc29a9e9458fd9a71be1 (diff)
downloadlinux-ff5ff6060bf880aac233e68dd666cbe9e39ec620.tar.xz
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>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r--scripts/kconfig/expr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 6ee2e4fb1481..170459c224a1 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -165,7 +165,6 @@ struct menu {
struct symbol *sym;
struct property *prompt;
struct expr *dep;
- struct expr *dir_dep;
unsigned int flags;
char *help;
struct file *file;