> -----Original Message-----
> From: Ankur Dwivedi <[email protected]>
> Sent: 2023年3月16日 17:48
> To: [email protected]
> Cc: Yuan, DukaiX <[email protected]>; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; Ankur Dwivedi
> <[email protected]>
> 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 <[email protected]>
> ---
Tested-by: Dukai Yuan<[email protected]>

Reply via email to