> -----Original Message-----
> From: Mingxia Liu <mingxia....@intel.com>
> Sent: Wednesday, November 9, 2022 1:02 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing <jingjing...@intel.com>; Xing, Beilei
> <beilei.x...@intel.com>;
> Wang, Xiao W <xiao.w.w...@intel.com>; Guo, Junfeng
> <junfeng....@intel.com>; Liu, Mingxia <mingxia....@intel.com>;
> sta...@dpdk.org
> Subject: [PATCH v1] common/idpf: fix tainted scalar
>
> From: mingxial <mingxia....@intel.com>
>
> Passing tainted expression "msg.data_len" to "rte_memcpy", which uses it as
> a loop boundary.
>
> Replace tainted expression with a temp variable to avoid the tainted scalar
> coverity warning.
>
> Coverity issue: 381688
> Fixes: fb4ac04e9bfa ("common/idpf: introduce common library")
> Cc: sta...@dpdk.org
>
> Signed-off-by: mingxial <mingxia....@intel.com>
Acked-by: Qi Zhang <qi.z.zh...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi