linux/scripts/kconfig
Jacob Garber b9d1a8e930 kconfig: use snprintf for formatting pathnames
Valid pathnames will never exceed PATH_MAX, but these file names
are unsanitized and can cause buffer overflow if set incorrectly.
Use snprintf to avoid this. This was flagged during a Coverity scan
of the coreboot project, which also uses kconfig for its build system.

Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-05-14 23:23:25 +09:00
..
lxdialog kconfig: remove trailing whitespaces 2019-05-09 22:37:17 +09:00
tests
.gitignore kconfig: rename generated .*conf-cfg to *conf-cfg 2019-01-06 10:47:09 +09:00
conf.c kbuild: move ".config not found!" message from Kconfig to Makefile 2019-02-27 22:25:10 +09:00
confdata.c kconfig: use snprintf for formatting pathnames 2019-05-14 23:23:25 +09:00
expr.c kconfig: split some C files out of zconf.y 2018-12-28 22:22:38 +09:00
expr.h kconfig: rename zconf.y to parser.y 2019-02-13 23:25:58 +09:00
gconf-cfg.sh
gconf.c kconfig: remove trailing whitespaces 2019-05-09 22:37:17 +09:00
gconf.glade
images.c kconfig: split images.c out of qconf.cc/gconf.c to fix gconf warnings 2018-12-28 22:22:39 +09:00
images.h kconfig: split images.c out of qconf.cc/gconf.c to fix gconf warnings 2018-12-28 22:22:39 +09:00
lexer.l kconfig: use snprintf for formatting pathnames 2019-05-14 23:23:25 +09:00
list.h
lkc.h kconfig: rename zconf.l to lexer.l 2019-02-13 23:25:49 +09:00
lkc_proto.h
Makefile kconfig: rename zconf.y to parser.y 2019-02-13 23:25:58 +09:00
mconf-cfg.sh
mconf.c kconfig: make parent directories for the saved .config as needed 2019-05-11 02:16:21 +09:00
menu.c
merge_config.sh
nconf-cfg.sh kconfig: Make nconf-cfg.sh executable 2019-04-09 22:44:57 +09:00
nconf.c kconfig: make parent directories for the saved .config as needed 2019-05-11 02:16:21 +09:00
nconf.gui.c kconfig/[mn]conf: handle backspace (^H) key 2019-03-29 22:48:01 +09:00
nconf.h
parser.y kconfig: rename zconf.y to parser.y 2019-02-13 23:25:58 +09:00
preprocess.c kconfig: split some C files out of zconf.y 2018-12-28 22:22:38 +09:00
qconf-cfg.sh
qconf.cc kconfig: fix 'Save As' menu of xconfig 2019-03-12 02:50:24 +09:00
qconf.h kconfig: fix 'Save As' menu of xconfig 2019-03-12 02:50:24 +09:00
streamline_config.pl
symbol.c kconfig: split some C files out of zconf.y 2018-12-28 22:22:38 +09:00
util.c