[dpdk-stable] [PATCH] app/testpmd: fix unintentional integer overflow

Iremonger, Bernard bernard.iremonger at intel.com
Wed Apr 24 14:41:33 CEST 2019


> -----Original Message-----
> From: Bie, Tiwei
> Sent: Wednesday, April 24, 2019 3:30 AM
> To: Lu, Wenzhuo <wenzhuo.lu at intel.com>; Wu, Jingjing
> <jingjing.wu at intel.com>; Iremonger, Bernard <bernard.iremonger at intel.com>;
> dev at dpdk.org
> Cc: stable at dpdk.org
> Subject: [PATCH] app/testpmd: fix unintentional integer overflow
> 
> Fix the potential overflow in expression 1 << begin by using 1ULL.
> 
> Coverity issue: 279437, 279445
> Fixes: c73a9071877a ("app/testpmd: add commands to test new offload API")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>

Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>



More information about the stable mailing list