Re: [dpdk-dev] [PATCH v2] test/hash: fix buffer overflow

2021-10-14 Thread Medvedkin, Vladimir
Hi David, On 14/10/2021 10:34, David Marchand wrote: On Wed, Oct 13, 2021 at 9:28 PM Vladimir Medvedkin wrote: This patch fixes buffer overflow reported by ASAN, please reference https://bugs.dpdk.org/show_bug.cgi?id=818 Some tests for the rte_hash table use the rte_jhash_32b() as the hash f

Re: [dpdk-dev] [PATCH v2] test/hash: fix buffer overflow

2021-10-14 Thread David Marchand
On Wed, Oct 13, 2021 at 9:28 PM Vladimir Medvedkin wrote: > > This patch fixes buffer overflow reported by ASAN, > please reference https://bugs.dpdk.org/show_bug.cgi?id=818 > > Some tests for the rte_hash table use the rte_jhash_32b() as > the hash function. This hash function interprets the leng

[dpdk-dev] [PATCH v2] test/hash: fix buffer overflow

2021-10-13 Thread Vladimir Medvedkin
This patch fixes buffer overflow reported by ASAN, please reference https://bugs.dpdk.org/show_bug.cgi?id=818 Some tests for the rte_hash table use the rte_jhash_32b() as the hash function. This hash function interprets the length argument in units of 4 bytes. This patch divides configured key le