Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-02-14 11:55:46 +0100
committerTakashi Iwai <tiwai@suse.de>2019-02-14 11:55:56 +0100
commitc6725c8f4900f52faa5afd165a8042a7df8fb6b2 (patch)
tree5b925f8a8f2009d7ff9bd873caec8dfeb4dc13f8
parent17f80ff4f5666d8223addcb9ab1f7eedb837f697 (diff)
kconfig: fix memory leak when EOF is encountered in quotation
(bsc#1051510). suse-commit: 48b9214a34c5db0a9e97f6249c1f79da43d9a0f9
-rw-r--r--scripts/kconfig/zconf.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index 6534dc5ac803..0c7800112ff5 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -191,6 +191,8 @@ n [A-Za-z0-9_-]
}
<<EOF>> {
BEGIN(INITIAL);
+ yylval.string = text;
+ return T_WORD_QUOTE;
}
}