linux-rockchip/scripts/kconfig
Masahiro Yamada 064debdc41 kconfig: qconf: fix buffer overflow in debug links
[ Upstream commit 984ed20ece1c6c20789ece040cbff3eb1a388fa9 ]

If you enable "Option -> Show Debug Info" and click a link, the program
terminates with the following error:

    *** buffer overflow detected ***: terminated

The buffer overflow is caused by the following line:

    strcat(data, "$");

The buffer needs one more byte to accommodate the additional character.

Fixes: c4f7398bee ("kconfig: qconf: make debug links work again")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:22:03 +02:00
..
lxdialog
tests
.gitignore
conf.c
confdata.c
expr.c kconfig: remove wrong expr_trans_bool() 2024-07-25 09:49:11 +02:00
expr.h kconfig: remove wrong expr_trans_bool() 2024-07-25 09:49:11 +02:00
gconf-cfg.sh
gconf.c kconfig: gconf: give a proper initial state to the Save button 2024-07-25 09:49:11 +02:00
gconf.glade
images.c
images.h
internal.h
lexer.l
list.h
lkc.h
lkc_proto.h
Makefile
mconf-cfg.sh
mconf.c
menu.c kconfig: remove wrong expr_trans_bool() 2024-07-25 09:49:11 +02:00
merge_config.sh scripts: kconfig: merge_config: config files: add a trailing newline 2024-09-18 19:23:03 +02:00
nconf-cfg.sh
nconf.c
nconf.gui.c
nconf.h
parser.y
preprocess.c
qconf-cfg.sh
qconf.cc kconfig: qconf: fix buffer overflow in debug links 2024-10-17 15:22:03 +02:00
qconf.h
streamline_config.pl
symbol.c
util.c