RE: [EXT] [PATCH] examples/l2fwd-crypto: fix potential overflow

2022-02-23 Thread Akhil Goyal
> Coverity flags an issue with 32-bit value. If max ethports value is > configured with a value larger than 32 there will be an issue. > Coverity issue: 375863 Unintentional integer overflow > > Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application") > Cc: declan.dohe...@intel.com >

[PATCH] examples/l2fwd-crypto: fix potential overflow

2022-02-21 Thread Brian Dooley
Coverity flags an issue with 32-bit value. If max ethports value is configured with a value larger than 32 there will be an issue. Coverity issue: 375863 Unintentional integer overflow Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application") Cc: declan.dohe...@intel.com Cc: sta...@dpd