-
Committer:
Jonathan Kew
-
Date:
2019-08-30 10:42:45 UTC
-
Revision ID:
git-v1:c558647fdf38f6d881ca924f5930c05c015561c9
Explicitly cast byte to uint32_t before left-shifting.
To avoid potential signed integer overflow (undefined behavior), as implicit integer promotion means the operand becomes a (signed) int.
(Issue originally reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1577669)