summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2021-11-29 20:22:40 +0100
committerMartijn van Beurden <mvanb1@gmail.com>2022-04-17 21:22:02 +0200
commitcde4b8c783317434c3bac6c7c90f11c125442809 (patch)
tree43639f35c6c4ce8f6b64acc5dfd5457b3dc6e0eb /m4
parent21d0640ea9db6a96bc4329c8f1bf6659f0141a1e (diff)
downloadflac-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