5c82c444fb
region_is_subregion() checks whether the size of the inner region is larger than the size of the outer region... which isn't really necessary because we're already checking the starts and ends of both regions. Maybe this was added to ensure the inner region doesn't overflow? But it's not guaranteed to catch that in all cases. Replace it with a proper overflow check. Change-Id: I9e442053584a479a323c1fa1c0591934ff83eb10 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34892 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> |
||
---|---|---|
.. | ||
include/commonlib | ||
storage | ||
Makefile.inc | ||
cbfs.c | ||
fsp_relocate.c | ||
iobuf.c | ||
lz4.c.inc | ||
lz4_wrapper.c | ||
mem_pool.c | ||
region.c | ||
sort.c |