[EXT] [PATCH] examples/ipsec-secgw: fix uninitialized memory access

Anoob Joseph anoobj at marvell.com
Thu Apr 28 06:42:03 CEST 2022


> 
> ----------------------------------------------------------------------
> 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")
> 
> Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>
> ---
>  examples/ipsec-secgw/flow.c  | 2 +-
>  examples/ipsec-secgw/ipsec.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Anoob Joseph <anoobj at marvell.com>


More information about the dev mailing list