kernel_samsung_a53x/scripts/kconfig
Masahiro Yamada bc617ec1d6 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: 104daea149c4 ("kconfig: reference environment variables directly and remove 'option env='")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:58 +01:00
..
lxdialog Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tests Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
conf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
confdata.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gconf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gconf.glade Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
images.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
images.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lexer.l kconfig: fix infinite loop when expanding a macro at the end of file 2024-11-19 08:44:58 +01:00
list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lkc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lkc_proto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mconf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
menu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
merge_config.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf.gui.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parser.y Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
preprocess.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qconf.cc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qconf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
streamline_config.pl Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol.c kconfig: fix memory leak from range properties 2024-11-18 12:11:26 +01:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00