RE: [PATCH] examples/ipsec-secgw: fix partial overflow

2023-11-23 Thread Dooley, Brian
Thanks Thomas, makes sense. > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, November 22, 2023 4:38 PM > To: Dooley, Brian > Cc: dev@dpdk.org; sta...@dpdk.org; Nicolau, Radu > ; Akhil Goyal ; Power, Ciara > > Subject: Re: [PATCH] examples/

Re: [PATCH] examples/ipsec-secgw: fix partial overflow

2023-11-22 Thread Thomas Monjalon
> > 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 re

RE: [PATCH] examples/ipsec-secgw: fix partial overflow

2023-11-15 Thread Power, Ciara
> -Original Message- > From: Brian Dooley > Sent: Wednesday, November 15, 2023 12:31 PM > To: dev@dpdk.org > Cc: Dooley, Brian ; > sergio.gonzalez.mon...@intel.com; sta...@dpdk.org; Nicolau, Radu > ; Akhil Goyal > Subject: [PATCH] examples/ipsec-secgw: fix pa

[PATCH] examples/ipsec-secgw: fix partial overflow

2023-11-15 Thread Brian Dooley
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 stru