Re: [PATCH] distributor: fix potential overflow bug

2022-02-27 Thread Thomas Monjalon
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 typecas

Re: [PATCH] distributor: fix potential overflow bug

2022-02-17 Thread 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 bit

[PATCH] distributor: fix potential overflow bug

2022-02-17 Thread Bruce Richardson
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 ("distributo