summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kovacevic <marko.kovacevic@intel.com>2018-11-07 12:00:06 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-11-07 14:53:36 +0100
commit86ce81af7352875f31efc01cb110b7b17c0ae235 (patch)
treee1dff28d0b71cb06da5fa4226c8bfc23659c1618
parentee0e074f81431f6f1223a51b84ee72b354b0445c (diff)
downloaddpdk-86ce81af7352875f31efc01cb110b7b17c0ae235.zip
dpdk-86ce81af7352875f31efc01cb110b7b17c0ae235.tar.gz
dpdk-86ce81af7352875f31efc01cb110b7b17c0ae235.tar.xz
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 <marko.kovacevic@intel.com>
-rw-r--r--examples/fips_validation/fips_validation_tdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fips_validation/fips_validation_tdes.c b/examples/fips_validation/fips_validation_tdes.c
index 5064ff3..15ee434 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;