coreboot-kgpe-d16/tests/lib
Jakub Czapiga ec8eef0a6b tests/lib/bootmem-test: Add initialization of lb_mem fields
Add missing initialization of tag and size fields. Include initial size
value in assertion in test_bootmem_write_mem_table().

Found-by: Coverity CID 1452250
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I27678a4eb01a0e6bedd0ba8c4b22a1b01afeaf12
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52263
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
2021-04-13 16:03:27 +00:00
..
Makefile.inc tests: Add lib/bootmem-test test case 2021-04-09 06:20:50 +00:00
b64_decode-test.c
bootmem-test.c tests/lib/bootmem-test: Add initialization of lb_mem fields 2021-04-13 16:03:27 +00:00
cbmem_console-test.c
compute_ip_checksum-test.c
crc_byte-test.c
edid-test.c
fmap-test.c
hexstrtobin-test.c
imd-test.c include/assert.h: Use mock_assert() for ENV_TEST targets 2021-04-09 06:20:04 +00:00
imd_cbmem-test.c
list-test.c
malloc-test.c tests/lib/malloc-test: Fix possible memory overrun 2021-04-11 21:05:25 +00:00
memchr-test.c
memcmp-test.c
memcpy-test.c
memmove-test.c
memrange-test.c
memset-test.c tests: memset-test: Parenthesize zero size argument for clang 2021-03-18 15:02:13 +00:00
region_file-test.c
stack-test.c include/assert.h: Use mock_assert() for ENV_TEST targets 2021-04-09 06:20:04 +00:00
string-test.c
timestamp-test.c
uuid-test.c tests: Add lib/uuid-test test case 2021-04-06 06:56:47 +00:00