coreboot-kgpe-d16/util/kconfig
Jacob Garber 554e55b0f0 util/kconfig: Use snprintf to avoid buffer overflow
'name' and 'env' are supposed to be file system paths,
but could overflow the buffer if configured incorrectly.
Let's avoid that entirely.

Found-by: Coverity Scan #1362515
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Change-Id: I1aef36819d49ebcbde1c51995dc0961c85e74150
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32686
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2019-05-13 09:14:42 +00:00
..
lxdialog
Makefile util/kconfig: Fix missing library issue with ld 2.24 and newer 2019-04-03 05:29:16 +00:00
POTFILES.in
check.sh
conf.c
confdata.c
description.md
expr.c
expr.h
gconf.c
gconf.glade
images.c
kxgettext.c
list.h
lkc.h
lkc_proto.h
mconf.c
menu.c
miniconfig treewide: use /usr/bin/env where appropriate 2018-11-17 07:32:03 +00:00
nconf.c
nconf.gui.c
nconf.h
qconf.cc util/kconfig:xconf(QT): Update QT version of xconf 2016-02-03 03:46:18 +01:00
qconf.h
regex.c
regex.h
symbol.c
toada.c util/kconfig: Add `toada` Ada spec generation tool 2019-01-24 13:47:08 +00:00
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l util/kconfig: Use snprintf to avoid buffer overflow 2019-05-13 09:14:42 +00:00
zconf.lex.c_shipped util/kconfig: Use snprintf to avoid buffer overflow 2019-05-13 09:14:42 +00:00
zconf.tab.c_shipped
zconf.y