diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-05-08 09:32:00 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-13 09:14:42 +0000 |
commit | 554e55b0f07e7913afad6b374e30661df9db617a (patch) | |
tree | 4330d8e62a54a9513de655d225c46d4676f26df1 /src/drivers/i2c/pcf8523 | |
parent | cb6f6a10b3223dce446a1ce8e01cba0357b55b91 (diff) |
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/drivers/i2c/pcf8523')
0 files changed, 0 insertions, 0 deletions