[dpdk-stable] [DPDK] raw/ifpga: fix unintentional integer overflow

Thomas Monjalon thomas at monjalon.net
Thu Jul 4 15:53:34 CEST 2019


> > cast unsigned int ports_per_retimer, unsigned int nums_retimer, unsigned
> > int nums_fvl and unsigned int ports_per_fvl to uint64_t before multiply
> > operation, to avoid Unintentional integer overflow.
> > 
> > Coverity issue: 337924, 337926
> > Fixes: d1cd4eb2d48e ("raw/ifpga: support ipn3ke")
> > Cc: rosen.xu at intel.com
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Andy Pei <andy.pei at intel.com>
> 
> Acked-by: Rosen Xu <rosen.xu at intel.com>

Applied, thanks





More information about the stable mailing list