diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2024-11-06 16:15:08 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2024-11-13 23:31:55 +0000 |
commit | e24b7c72cc7e2c7b1475a7625052918961e7dc77 (patch) | |
tree | 91b139aab147eff8af0f5d97b1beb973fc089e76 /util/fuzz-tests/Makefile | |
parent | 7980b6ed47e35bba343705606bf5131df470ae18 (diff) |
util/ifdtool: Fix invalid pointer dereference
When calculating the GPR0 protection range, currently the offsets of
"CSE data partition offset" and FPT are not checked. Invalid pointer
dereference may lead to segmentation fault.
Ensure the offset is within the image size before accessing the pointer.
Change-Id: Ic9557d8fc8ae9e4c12114ee170bfc90d5e149df9
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85016
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Goncharov <chat@joursoir.net>
Diffstat (limited to 'util/fuzz-tests/Makefile')
0 files changed, 0 insertions, 0 deletions