RE: [PATCH v1] ethdev: fix address sanitizer bug

2023-03-16 Thread Yuan, DukaiX
> -Original Message- > From: Ankur Dwivedi > Sent: 2023年3月16日 17:48 > To: dev@dpdk.org > Cc: Yuan, DukaiX ; jer...@marvell.com; > tho...@monjalon.net; ferruh.yi...@amd.com; > andrew.rybche...@oktetlabs.ru; sk...@marvell.com; Ankur Dwivedi > > Subject: [PA

Re: [PATCH v1] ethdev: fix address sanitizer bug

2023-03-16 Thread Ferruh Yigit
On 3/16/2023 9:48 AM, Ankur Dwivedi wrote: > With clang 10 compilation, the address sanitizer reports global buffer > overflow issue. The issue is observed during trace point registration > in rte_trace_point_emit_string, for strings in iterator structure. > As a workaround for this clang issue, th

[PATCH v1] ethdev: fix address sanitizer bug

2023-03-16 Thread Ankur Dwivedi
With clang 10 compilation, the address sanitizer reports global buffer overflow issue. The issue is observed during trace point registration in rte_trace_point_emit_string, for strings in iterator structure. As a workaround for this clang issue, this patch removes the rte_trace_point_emit_string an