mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
![Ralph Giles](/assets/img/avatar_default.png)
In reviewing the static asserts in the code I found two inconsistencies. riffHeader includes 4 skipped bytes which weren't accounted for in the bounds check. Comparisons of a uint against UINT_MAX are very unlikely to fail regardless, but this at least makes the two MAX_BLOCK_SIZE checks the same.