coreboot-kgpe-d16/tests
Jakub Czapiga 68220b5c42 tests/lib/memchr-test: Fix possible memory overrun, add non-null checks
Three calls to memchr() had incorrect length values which could lead to
memory overrun.
Add non-null checks to ensure correct return values from memchr()

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: Ief7b7e2ecb9b5d2e05e6983d92d02fa00935b392
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51054
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
2021-02-26 07:30:00 +00:00
..
acpi tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00
commonlib
device device/dram: Add method for converting MHz to MT/s 2020-09-16 03:24:50 +00:00
include memlayout: Store region sizes as separate symbols 2021-02-19 08:39:26 +00:00
lib tests/lib/memchr-test: Fix possible memory overrun, add non-null checks 2021-02-26 07:30:00 +00:00
stubs tests: Add lib/edid-test test case 2020-11-10 06:19:10 +00:00
Makefile.inc tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00