Jakub Czapiga has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60112 )
Change subject: tests/lib/lzma-test: Fix uninitialized array error ......................................................................
tests/lib/lzma-test: Fix uninitialized array error
Change-Id: I5b10eef3dd82068f97d4d875f3da813a5aca07a7 Signed-off-by: Jakub Czapiga jacz@semihalf.com Reported-by: Paul Fagerburg pfagerburg@chromium.org --- M tests/lib/lzma-test.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/60112/1
diff --git a/tests/lib/lzma-test.c b/tests/lib/lzma-test.c index 3918890..8ae9ced 100644 --- a/tests/lib/lzma-test.c +++ b/tests/lib/lzma-test.c @@ -130,7 +130,7 @@
static void test_ulzman_input_too_small(void **state) { - uint8_t in_buf[32]; + uint8_t in_buf[32] = {0}; uint8_t out_buf[32];
assert_int_equal(0, ulzman(in_buf, LZMA_PROPERTIES_SIZE, out_buf, sizeof(out_buf)));