config: exit if no beginning filename
PATCH 1/1 config: exit if no beginning filename
From: Randy Dunlap <[email protected]>
If the beginning Kconfig file is missing, config segfaults so it might as well exit after the error message.
Signed-off-by Randy Dunlap <[email protected]>
--- scripts/kconfig/conf.c | 1 + 1 files changed, 1 insertion(+)
scripts/kconfig/conf.c +1 -0
@@ -553,6 +553,7 @@ int main(int ac, char **av) name = av[i];if (!name) {printf (_ ("%s: Kconfig file missing\n" ), av[0 ]); +exit (1 ); }conf_parse (name);//zconfdump(stdout);
---