[PATCH] distributor: fix potential overflow bug

Thomas Monjalon thomas at monjalon.net
Sun Feb 27 19:07:20 CET 2022


17/02/2022 16:24, David Hunt:
> Hi Bruce,
> 
> On 17/2/2022 3:02 PM, Bruce Richardson wrote:
> > Coverity flags the fact that the tag values used in distributor are
> > 32-bit, which means that when we use bit-manipulation to convert a tag
> > match/no-match to a bit in an array, we need to typecast to a 64-bit
> > type before shifting past 32 bits.
> >
> > Coverity issue: 375808
> > Fixes: 08ccf3faa6a9 ("distributor: new packet distributor library")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> 
> LGTM
> 
> Acked-by: David Hunt <david.hunt at intel.com>

Applied, thanks.






More information about the stable mailing list