app/test-sad: fix uninitialized variable
authorVladimir Medvedkin <vladimir.medvedkin@intel.com>
Fri, 18 Sep 2020 12:35:56 +0000 (13:35 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 14 Oct 2020 19:06:56 +0000 (21:06 +0200)
Coverity issue: 362055
Fixes: 908be0651a5a ("app/test-sad: add test application for IPsec SAD")
Cc: stable@dpdk.org
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
app/test-sad/main.c

index b01e84c..8380fad 100644 (file)
@@ -617,7 +617,7 @@ main(int argc, char **argv)
 {
        int ret;
        struct rte_ipsec_sad *sad;
-       struct rte_ipsec_sad_conf conf;
+       struct rte_ipsec_sad_conf conf = {0};
        unsigned int lcore_id;
 
        ret = rte_eal_init(argc, argv);