Commit graph

4 commits

Author SHA1 Message Date
yannaingtun 7dd0f121e4 Fix security vulnerability: add bounds check for numCoefficients
When building with NDEBUG, asserts are eliminated, which could
lead to buffer overflow via out-of-bounds access to m_msadpcmCoefficients.
This adds explicit bounds checks that remain even when assertions are disabled.

Similar to the fix for CVE-2018-13440 in the original AudioFile library.
2025-03-04 10:54:12 +08:00
n64 6d87c424b8 Refresh 13 2020-12-03 14:26:38 -05:00
n64 9214dddabc Refresh 11 2020-07-04 11:18:55 -04:00
n64 05c7d7031c Refresh 10.1 2020-06-17 22:14:59 -04:00