summaryrefslogtreecommitdiff
path: root/src/ec/starlabs
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2022-03-01 17:22:52 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-03-21 16:55:46 +0000
commit52a1898d4430e81f8249561724ab0e911ba900b8 (patch)
tree30ad442936daecc22c620e48f25357e78ae81b57 /src/ec/starlabs
parent0c893d2624716f8fab95b4d60b0a22ab69ea74c8 (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