DPDK patches and discussions
 help / color / Atom feed
* [dpdk-dev] [PATCH] app/test-sad: fix uninitialized variable
@ 2020-09-18 12:35 Vladimir Medvedkin
  2020-09-22 20:01 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Medvedkin @ 2020-09-18 12:35 UTC (permalink / raw)
  To: dev; +Cc: stable

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-sad/main.c b/app/test-sad/main.c
index b01e84c..8380fad 100644
--- a/app/test-sad/main.c
+++ b/app/test-sad/main.c
@@ -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);
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] app/test-sad: fix uninitialized variable
  2020-09-18 12:35 [dpdk-dev] [PATCH] app/test-sad: fix uninitialized variable Vladimir Medvedkin
@ 2020-09-22 20:01 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2020-09-22 20:01 UTC (permalink / raw)
  To: Vladimir Medvedkin, dev; +Cc: stable

> 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>
> ---
Applied to dpdk-next-crypto

Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 12:35 [dpdk-dev] [PATCH] app/test-sad: fix uninitialized variable Vladimir Medvedkin
2020-09-22 20:01 ` Akhil Goyal

DPDK patches and discussions

Archives are clonable:
	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox