diff options
author | Bora Guvendik <bora.guvendik@intel.com> | 2023-01-17 12:09:56 -0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-01-22 00:36:49 +0000 |
commit | adb52533fce3c06adebd174301482e2f1fbcc3a1 (patch) | |
tree | ab69d768cf2c5fa15ee3aa7d741399b33e4c8ad7 /src/commonlib/storage | |
parent | 5e2d9c0979696e63822854432cd37e9ea2189e99 (diff) |
intel/common/block: Fix potential buffer overflow
Possible Buffer Overflow - Array Index Out of Bounds. Array
regions size is 256 but 'i' iterates from 0 to 256.
Found-by: Klockwork
BUG=None
BRANCH=firmware-brya-14505.B
TEST=Boot to OS
Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Change-Id: Iee45a5821b9dd3f9e6f9816599beebf34555426d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72049
Reviewed-by: Hannah Williams <hannah.williams@intel.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/storage')
0 files changed, 0 insertions, 0 deletions