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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60112
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Jakub Czapiga 2021-12-14 16:47:49 +00:00 committed by Felix Held
parent a1430c340e
commit 19ad39b7f2
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ static void test_ulzman_correct_file(void **state)
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)));