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

2021-10-14 Thread Medvedkin, Vladimir
Hi David, On 14/10/2021 09:04, David Marchand wrote: Hello Vladimir, On Wed, Oct 13, 2021 at 9:27 PM Medvedkin, Vladimir wrote: With patch applied, ASan reports another issue. Did you test your fix with ASan? You're right, for some reason ASAN wasn't enabled. I applied patch and built runn

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

2021-10-14 Thread David Marchand
Hello Vladimir, On Wed, Oct 13, 2021 at 9:27 PM Medvedkin, Vladimir wrote: > > With patch applied, ASan reports another issue. > > Did you test your fix with ASan? > > > > You're right, for some reason ASAN wasn't enabled. > I applied patch and built running .ci/linux-build.sh, > also I build wit

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

2021-10-13 Thread Medvedkin, Vladimir
Hi David, On 11/10/2021 13:03, David Marchand wrote: On Fri, Oct 8, 2021 at 11: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] test/hash: fix buffer overflow

2021-10-11 Thread David Marchand
On Fri, Oct 8, 2021 at 11: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