coreboot-kgpe-d16/util/amdfwtool
Zheng Bao fdb0294846 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>
2022-02-24 00:41:45 +00:00
..
.gitignore
Makefile amdfwtool: Add PSP ID for combo and ISH header for A/B recovery 2021-10-29 14:26:22 +00:00
Makefile.inc amdfwtool: Add PSP ID for combo and ISH header for A/B recovery 2021-10-29 14:26:22 +00:00
amdfwtool.c amdfwtool: Add entries for PMUI & PMUD with instance 2 2022-02-21 23:48:57 +00:00
amdfwtool.h amdfwtool: Add support for AMD's BIOS A/B recovery feature 2022-02-21 23:47:20 +00:00
data_parse.c amdfwtool: Check the real length of PMU string 2022-02-24 00:41:45 +00:00
description.md