> -----Original Message-----
> From: Brian Dooley <brian.doo...@intel.com>
> Sent: Wednesday, November 15, 2023 12:31 PM
> To: dev@dpdk.org
> Cc: Dooley, Brian <brian.doo...@intel.com>;
> sergio.gonzalez.mon...@intel.com; sta...@dpdk.org; Nicolau, Radu
> <radu.nico...@intel.com>; Akhil Goyal <gak...@marvell.com>
> Subject: [PATCH] examples/ipsec-secgw: fix partial overflow
>
> Case of partial overflow detected with ASan. Added extra padding to cdev_key
> structure.
>
> This structure is used for the key in hash table.
> Padding is added to force the struct to use 8 bytes, to ensure memory is
> notread past this structs boundary (the hash key calculation reads 8 bytes if
> this struct is size 5 bytes).
> The padding should be zeroed.
> If fields are modified in this struct, the padding must be updated to ensure
> multiple of 8 bytes size overall.
>
> Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")
> Cc: sergio.gonzalez.mon...@intel.com
> Cc: sta...@dpdk.org
>
> Signed-off-by: Brian Dooley <brian.doo...@intel.com>
Acked-by: Ciara Power <ciara.po...@intel.com>