diff options
author | robot-piglet <[email protected]> | 2025-03-12 15:23:05 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-03-12 15:35:41 +0300 |
commit | e168b9c40d0c681bff53af1f3cfadf912278e4ab (patch) | |
tree | d9cb2acae14e20d0e009de931fa5e3a6a618afef /contrib/restricted/boost/crc/patches/w-shift-count-overflow.patch | |
parent | 6be15d55eee03989c22613608f68419703afa891 (diff) |
Intermediate changes
commit_hash:4a7b107595b27e8638b5cf772d691c8914fcb6ca
Diffstat (limited to 'contrib/restricted/boost/crc/patches/w-shift-count-overflow.patch')
-rw-r--r-- | contrib/restricted/boost/crc/patches/w-shift-count-overflow.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/restricted/boost/crc/patches/w-shift-count-overflow.patch b/contrib/restricted/boost/crc/patches/w-shift-count-overflow.patch new file mode 100644 index 00000000000..033a31455e0 --- /dev/null +++ b/contrib/restricted/boost/crc/patches/w-shift-count-overflow.patch @@ -0,0 +1,11 @@ +--- contrib/restricted/boost/crc/include/boost/crc.hpp (index) ++++ contrib/restricted/boost/crc/include/boost/crc.hpp (working tree) +@@ -1188,7 +1188,7 @@ namespace detail + )) & UCHAR_MAX ) ^ *new_dividend_bytes++; + + // Complete the multi-bit altered modulo-2 polynomial division +- remainder <<= CHAR_BIT; ++ remainder = (remainder << CHAR_BIT); + remainder ^= table[ index ]; + } + |