Re: [dpdk-dev] [PATCH v2 04/10] net/atlantic: fix buffer overflow

2019-03-09 Thread Stephen Hemminger
On Sat, 9 Mar 2019 14:03:30 + Igor Russkikh wrote: > From: Pavel Belous > > Found by Coverity scan. This is a real memory corruption. > There is no need in extra RTE_ALIGN macros since the > request/result structures are 4-byte aligned by definition. When fixing bugs found by Coverity it i

[dpdk-dev] [PATCH v2 04/10] net/atlantic: fix buffer overflow

2019-03-09 Thread Igor Russkikh
From: Pavel Belous Found by Coverity scan. This is a real memory corruption. There is no need in extra RTE_ALIGN macros since the request/result structures are 4-byte aligned by definition. Cc: sta...@dpdk.org Fixes: ce4e8d418097 ("net/atlantic: implement EEPROM get/set") Signed-off-by: Igor Rus