Hi Everyone,

We cleared nearly all of the Coverity findings located at . 

We have one left, but I am not sure how to proceed. Here is the text from 
the finding: "CID 147829 (#1 of 1): Bad bit shift operation (BAD_SHIFT)33. 
large_shift: In expression ((temp >> j) & 1ULL) << this->t1 + j, left 
shifting by more than 63 bits has undefined behavior. The shift amount, this
->t1 + j, is as much as 64."

Here is the source code and line (just below line 710): 
http://www.cryptopp.com/docs/ref/gf2n_8cpp_source.html#l00710 .

I have not been able to duplicate it in practice, which means we can't test 
the fix and we risk breaking things.

My question is, how can we craft a test case to tickle that finding? 

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to