rockbox/lib
Aidan MacDonald 56442f6b7f rbcodec: Fix FLAC out of bounds read
Commit 6bcd830490 ported an optimization to decode_subframe_fixed()
from FFmpeg (upstream commit 08965b22e2). This contains an out of
bounds read, which doesn't affect the decoder output, but makes ASAN
complain.

FFmpeg fixed the out of bounds read (upstream commit 0ec7b71de8) but
that appears to increase code size a lot.

Inlining the initialization of a, b, c, d into the switch produces
similar code as the non-bounds-checked version with only a handful
of instructions of overhead (checked on MIPS & ARM).

Change-Id: I053fac4efc4676b133eb7545c80e23f37fb00d86
2023-01-15 16:11:28 -05:00
..
arm_support ARM support, optimize popcount fn 2022-03-12 00:00:01 -05:00
fixedpoint Undo hacks to meant to get around string formatting limitations 2017-11-21 05:01:14 -05:00
libsetjmp [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
microtar microtar: Update to latest upstream commit 2021-11-27 13:13:35 +00:00
mipsunwinder mips: add native backtrace implementation 2022-05-22 07:16:11 -04:00
rbcodec rbcodec: Fix FLAC out of bounds read 2023-01-15 16:11:28 -05:00
skin_parser Suppress bogus GCC 12 -Waddress warnings for SKINOFFSETTOPTR 2022-09-18 13:53:27 +01:00
tlsf tlsf fix corruption checks 2023-01-02 10:09:46 -05:00
unwarminder backtrace, put pc and sp on their own lines 2022-03-08 23:37:50 -05:00