summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-05-27 11:11:34 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-08-31 15:05:48 +0000
commitdac446165eab07216428fc660b3fd28603803f0f (patch)
tree6e5f80de298a0846bee48c358524ddea7e6ce8cb /src
parentfd2982ec8a61894d466efc47a9d724a93af6ddc6 (diff)
amdfwtool: Copy string in a safer way
The issue is reported by Coverity. Using strcpy or strcat copying string without checking length may cause overflow. BUG=b:188769921 Reported-by: Coverity (CID:1438964) Change-Id: I609d9ce405d01c57b1847a6310630ea0341e13be Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54946 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions