dtucker
340e9dca9e
Cast bitcount to u_in64_t before bit shifting to prevent integer overflow
on 32bit platforms which cause incorrect results when adding a block >=512M in size. sha1 patch from ante84 at gmail.com via openssh github, sha2 with djm@, ok tedu@ |
5 years ago | |
---|---|---|
src | Cast bitcount to u_in64_t before bit shifting to prevent integer overflow | 5 years ago |