summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-05-08 09:32:00 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-05-13 09:14:42 +0000
commit554e55b0f07e7913afad6b374e30661df9db617a (patch)
tree4330d8e62a54a9513de655d225c46d4676f26df1 /src/lib
parentcb6f6a10b3223dce446a1ce8e01cba0357b55b91 (diff)
downloadcoreboot-554e55b0f07e7913afad6b374e30661df9db617a.tar.xz
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>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions