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

2019-04-24 Thread Iremonger, Bernard
> -Original Message- > From: Bie, Tiwei > Sent: Wednesday, April 24, 2019 3:30 AM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard ; > dev@dpdk.org > Cc: sta...@dpdk.org > Subject: [PATCH] app/testpmd: fix unintentional integer overflow > > Fix the potential overflow in expression 1

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

2019-04-23 Thread Tiwei Bie
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: sta...@dpdk.org Signed-off-by: Tiwei Bie --- app/test-pmd/cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti