[PATCH v1] common/idpf: fix tainted scalar

Zhang, Qi Z qi.z.zhang at intel.com
Wed Nov 9 08:28:00 CET 2022



> -----Original Message-----
> From: Mingxia Liu <mingxia.liu at intel.com>
> Sent: Wednesday, November 9, 2022 1:02 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei <beilei.xing at intel.com>;
> Wang, Xiao W <xiao.w.wang at intel.com>; Guo, Junfeng
> <junfeng.guo at intel.com>; Liu, Mingxia <mingxia.liu at intel.com>;
> stable at dpdk.org
> Subject: [PATCH v1] common/idpf: fix tainted scalar
>
> From: mingxial <mingxia.liu at 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: stable at dpdk.org
>
> Signed-off-by: mingxial <mingxia.liu at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list