android_kernel_motorola_sm6375/scripts/kconfig
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Masahiro Yamada ca6279d1a1 kconfig: fix infinite loop when expanding a macro at the end of file
[ Upstream commit af8bbce92044dc58e4cc039ab94ee5d470a621f5 ]

A macro placed at the end of a file with no newline causes an infinite
loop.

[Test Kconfig]
  $(info,hello)
  \ No newline at end of file

I realized that flex-provided input() returns 0 instead of EOF when it
reaches the end of a file.

Fixes: 104daea149 ("kconfig: reference environment variables directly and remove 'option env='")
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-03-26 18:22:24 -04:00
..
lxdialog
tests
.gitignore
conf.c
confdata.c kconfig: fix failing to generate auto.conf 2022-02-23 12:00:01 +01:00
expr.c kconfig: don't crash on NULL expressions in expr_eq() 2020-01-12 12:21:35 +01:00
expr.h
gconf-cfg.sh
gconf.c
gconf.glade
images.c
images.h
lexer.l kconfig: fix infinite loop when expanding a macro at the end of file 2024-03-26 18:22:24 -04:00
list.h
lkc.h
lkc_proto.h
Makefile kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj) 2019-09-04 23:12:50 +09:00
mconf-cfg.sh
mconf.c
menu.c
merge_config.sh merge_config.sh: ignore unwanted grep errors 2019-09-04 23:12:50 +09:00
nconf-cfg.sh
nconf.c kconfig: nconf: stop endless search loops 2021-05-19 10:08:23 +02:00
nconf.gui.c
nconf.h
parser.y
preprocess.c kconfig: fix possible buffer overflow 2023-09-23 10:59:57 +02:00
qconf-cfg.sh
qconf.cc kconfig: qconf: fix signal connection to invalid slots 2020-08-26 10:41:04 +02:00
qconf.h
streamline_config.pl
symbol.c kconfig: fix memory leak from range properties 2023-12-13 18:18:10 +01:00
util.c