diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2021-05-27 11:11:34 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-08-31 15:05:48 +0000 |
commit | dac446165eab07216428fc660b3fd28603803f0f (patch) | |
tree | 6e5f80de298a0846bee48c358524ddea7e6ce8cb /src/ec/roda | |
parent | fd2982ec8a61894d466efc47a9d724a93af6ddc6 (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/ec/roda')
0 files changed, 0 insertions, 0 deletions