Re: [dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2021-10-12 Thread Sunil Kumar Kori
Regards Sunil Kumar Kori >-Original Message- >From: Li, Xiaoyun >Sent: Tuesday, October 12, 2021 1:21 PM >To: Sunil Kumar Kori >Cc: dev@dpdk.org; sta...@dpdk.org; Dumitrescu, Cristian > >Subject: [EXT] RE: [PATCH] app/testpmd: fix invalid memory access > >External Email > >--

Re: [dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2021-10-12 Thread Li, Xiaoyun
Hi > -Original Message- > From: sk...@marvell.com > Sent: Tuesday, October 12, 2021 15:36 > To: Li, Xiaoyun > Cc: dev@dpdk.org; Sunil Kumar Kori ; sta...@dpdk.org > Subject: [PATCH] app/testpmd: fix invalid memory access > > From: Sunil Kumar Kori > > During parsing of DSCP entries, m

[dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2021-10-12 Thread skori
From: Sunil Kumar Kori During parsing of DSCP entries, memory is allocated and assgined to *dscp_table. Later on, same memory is accessed using *dscp_table[i++]. Due to higher precedence for array subscript, dscp_table[i++] will be executed first which actually does not point to the same memory

Re: [dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2018-05-09 Thread Thomas Monjalon
07/05/2018 11:50, Qi Zhang: > When calulate memory size of an RTE_FLOW_ITEM_TYPE_RAW 's mask > mask->length is not the real size of binary pattern, it should take > spec->length, or memory size will be over counted (0x) and invalid > memory be access during following memcpy. > > Fixes: d0ad864

Re: [dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2018-05-08 Thread Zhang, Qi Z
Hi Zhao Wei: > -Original Message- > From: Zhao1, Wei > Sent: Tuesday, May 8, 2018 2:24 PM > To: Zhang, Qi Z ; adrien.mazarg...@6wind.com > Cc: Peng, Yuan ; dev@dpdk.org > Subject: RE: [PATCH] app/testpmd: fix invalid memory access > > Hi, zhang qi > This fix patch to DPDK.or is also us

Re: [dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2018-05-07 Thread Zhao1, Wei
Hi, zhang qi This fix patch to DPDK.or is also useful for igb flex byte core dump issue. I have validation it. But there is some patch check warning. https://dpdk.org/dev/patchwork/patch/39417/ > -Original Message- > From: Zhang, Qi Z > Sent: Monday, May 7, 2018 5:51 PM > To: adrien.

[dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

2018-05-07 Thread Qi Zhang
When calulate memory size of an RTE_FLOW_ITEM_TYPE_RAW 's mask mask->length is not the real size of binary pattern, it should take spec->length, or memory size will be over counted (0x) and invalid memory be access during following memcpy. Fixes: d0ad8648b1c5 ("app/testpmd: fix RSS flow action