diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2022-02-22 09:47:59 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-24 00:41:45 +0000 |
commit | fdb0294846cf18b1077e8b0a4b2fe29d6b5a0bb4 (patch) | |
tree | 6f2b3d8f6ec4ec94effad5660855f49e598a7183 /src/include/device/mmio.h | |
parent | e39d371909ff6ac6968b63cfc945338212c9a1c4 (diff) |
amdfwtool: Check the real length of PMU string
The length should be checked before the PMU_STR_INS_INDEX(th) character
is accessed, otherwise it is going to an access violation.
Change-Id: I8b59eb34e1cb01fd6e2571fcebc28ef2084b6ec4
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62249
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/include/device/mmio.h')
0 files changed, 0 insertions, 0 deletions