> -----Original Message-----
> From: Ankur Dwivedi <adwiv...@marvell.com>
> Sent: 2023年3月16日 17:48
> To: dev@dpdk.org
> Cc: Yuan, DukaiX <dukaix.y...@intel.com>; jer...@marvell.com;
> tho...@monjalon.net; ferruh.yi...@amd.com;
> andrew.rybche...@oktetlabs.ru; sk...@marvell.com; Ankur Dwivedi
> <adwiv...@marvell.com>
> Subject: [PATCH v1] ethdev: fix address sanitizer bug
>
> 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 and instead adds rte_trace_point_emit_ptr to
> capture the iterator pointer.
>
> Bugzilla ID: 1184
> Fixes: 6679cf21d608 ("ethdev: add trace points")
>
> Signed-off-by: Ankur Dwivedi <adwiv...@marvell.com>
> ---
Tested-by: Dukai Yuan<dukaix.y...@intel.com>