diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2020-06-28 13:05:11 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-07-01 23:06:53 +0200 |
commit | c611f608e8483906de1c3920b34dc8dbd1140ec2 (patch) | |
tree | 9eb1330c797471cf57c6417e814a930fce99acf7 /test/example.c | |
parent | d0e108b5703cf97104be0d3e58223ddf5a2150b5 (diff) |
Fixed bad shift operation warning in deflatePrime.
Check that bits value is not greater than bits allowed by value type.
CID 293475 (#2-4 of 4): Bad bit shift operation (BAD_SHIFT)
In expression 1UL << put, left shifting by more than 63 bits has undefined behavior.
Diffstat (limited to 'test/example.c')
0 files changed, 0 insertions, 0 deletions