diff options
author | Martin Roth <gaumless@gmail.com> | 2023-10-23 19:47:32 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-10-25 15:21:10 +0000 |
commit | 27b4a60baf685dd636904277c1fab249c80e5777 (patch) | |
tree | bbb4791f8aa023f08fe1a3144d5f358df94ce2bf /src/drivers/i2c/ww_ring | |
parent | 4bae3237464889454cff9cbdec7bd7ba61d3dccd (diff) |
mb/prodrive/hermes: Limit amount of data copied into struct
Change strcpy to strncpy just to be safe.
Found-by: Coverity Scan #1446759
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I7ed094a313692806a6ab6b4226b9978647e9cb8d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78621
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/drivers/i2c/ww_ring')
0 files changed, 0 insertions, 0 deletions