Re: [dpdk-dev] [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access

2020-04-05 Thread Akhil Goyal
> -Original Message- > From: Nagadheeraj Rottela > Sent: Friday, March 27, 2020 7:13 PM > To: Akhil Goyal > Cc: dev@dpdk.org; tho...@monjalon.net; jsrika...@marvell.com; > Nagadheeraj Rottela > Subject: [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access > > In nitrox_sym_pm

[dpdk-dev] [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access

2020-03-27 Thread Nagadheeraj Rottela
In nitrox_sym_pmd_create() the name array will overflow if the pci device name is greater than 57 bytes. To fix this issue subtract pci device name length from array length while appending substring to the name. Coverity issue: 349926 Fixes: 9fdef0cc2385 ("crypto/nitrox: create symmetric cryptode