diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2021-11-29 20:22:40 +0100 |
---|---|---|
committer | Martijn van Beurden <mvanb1@gmail.com> | 2022-04-17 21:22:02 +0200 |
commit | cde4b8c783317434c3bac6c7c90f11c125442809 (patch) | |
tree | 43639f35c6c4ce8f6b64acc5dfd5457b3dc6e0eb /m4 | |
parent | 21d0640ea9db6a96bc4329c8f1bf6659f0141a1e (diff) | |
download | flac-cde4b8c783317434c3bac6c7c90f11c125442809.tar.gz |
Add more overflow checks for residual_bits calculation
commit 585e3b added an overflow check in the residual bits
calculation, but actually hitting this causes problems further
down the line. This fixes the problem described in
https://hydrogenaud.io/index.php?topic=121349.msg1001227;topicseen#new
Also, UINT_MAX is changed to UINT32_MAX as uint32_t is used, not unsigned
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions