From: Marko Kovacevic Date: Wed, 7 Nov 2018 12:00:06 +0000 (+0000) Subject: examples/fips_validation: fix uninitialized access X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=86ce81af7352875f31efc01cb110b7b17c0ae235;p=dpdk.git examples/fips_validation: fix uninitialized access Fixing a bug raised in coverity using uninitialized value. Coverity issue: 325881 Fixes: 527cbf3d5ee3 ("examples/fips_validation: support TDES parsing") Signed-off-by: Marko Kovacevic --- diff --git a/examples/fips_validation/fips_validation_tdes.c b/examples/fips_validation/fips_validation_tdes.c index 5064ff3b8b..15ee434e14 100644 --- a/examples/fips_validation/fips_validation_tdes.c +++ b/examples/fips_validation/fips_validation_tdes.c @@ -202,7 +202,7 @@ parse_test_tdes_writeback(struct fips_val *val) static int writeback_tdes_hex_str(const char *key, char *dst, struct fips_val *val) { - struct fips_val tmp_val; + struct fips_val tmp_val = {0}; tmp_val.len = 8;