coreboot-kgpe-d16/util/amdfwtool
Zheng Bao 52a1898d44 amdfwtool: Check the length of matching string before accessing
If AB recovery is enabled and get a "Lx" in fw.cfg, wrong character
is got or access violation happens.

Change-Id: Ibd8ffe34fd44d860ec2115cd36117da7b02169cd
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62483
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
2022-03-21 16:55:46 +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 length of matching string before accessing 2022-03-21 16:55:46 +00:00
description.md