mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
3d10b528b0
Using left shift on a uint8_t promotes it to a signed integer. If the shift is large enough that the sign bit gets affected, we have undefined behavior. This patch fixes this by first casting to uint32_t. Differential Revision: https://phabricator.services.mozilla.com/D46820 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
apps | ||
certverifier | ||
ct | ||
mac/hardenedruntime | ||
manager | ||
nss | ||
sandbox | ||
.eslintrc.js | ||
generate_certdata.py | ||
generate_mapfile.py | ||
moz.build | ||
nss.symbols |