From 584dbb115cba50fc400d23a2d92d4e435a48b6c1 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Tue, 26 Oct 2021 11:17:32 +0000 Subject: [PATCH] test: [API] fix uninitialized variable in ZUC test --- test/direct_api_param_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/direct_api_param_test.c b/test/direct_api_param_test.c index 466e0a20..a4fad1aa 100644 --- a/test/direct_api_param_test.c +++ b/test/direct_api_param_test.c @@ -1315,6 +1315,7 @@ test_zuc_api(struct IMB_MGR *mgr) key_ptrs[i] = key[i]; iv_ptrs[i] = iv[i]; in_ptrs[i] = in_bufs[i]; + memset(in_bufs[i], 0, BUF_SIZE); out_ptrs[i] = out_bufs[i]; tag_ptrs[i] = &tags[i]; lens[i] = BUF_SIZE;