]> git.droids-corp.org - dpdk.git/commit
examples/ipsec-secgw: fix uninitialized memory access
authorVolodymyr Fialko <vfialko@marvell.com>
Fri, 25 Mar 2022 11:29:42 +0000 (12:29 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 1 Jun 2022 14:26:34 +0000 (16:26 +0200)
commit0b512a92b77009ab6e4291382b18f0e0ac74645f
treeda6f6ecb2927ca8859e970e76e0a12fdfb0d64e8
parent0d76e22d11110000d81c08d0c9257891c258a9c7
examples/ipsec-secgw: fix uninitialized memory access

rte_flow_validate and rte_flow_create not always initialize flow error.
Using error.message in some error cases will cause read from
uninitialized memory.

Fixes: 6738c0a9569 ("examples/ipsec-secgw: support flow director")
Cc: stable@dpdk.org
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
examples/ipsec-secgw/flow.c
examples/ipsec-secgw/ipsec.c