diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2022-03-01 17:22:52 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-21 16:55:46 +0000 |
commit | 52a1898d4430e81f8249561724ab0e911ba900b8 (patch) | |
tree | 30ad442936daecc22c620e48f25357e78ae81b57 /src/ec/starlabs | |
parent | 0c893d2624716f8fab95b4d60b0a22ab69ea74c8 (diff) |
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>
Diffstat (limited to 'src/ec/starlabs')
0 files changed, 0 insertions, 0 deletions