rockbox/lib/rbcodec/codecs/libffmpegFLAC
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.h
arm.S
bitstream.h iPod Classic: disable IRAM1 2018-07-30 18:50:27 -04:00
coldfire.h
coldfire.S
COPYING
decoder.c rbcodec: Fix FLAC out of bounds read 2023-01-15 16:11:28 -05:00
decoder.h Nudge flac towards upstream FS#13266 2021-03-02 23:48:05 +00:00
golomb.h Nudge flac towards upstream FS#13266 2021-03-02 23:48:05 +00:00
libffmpegFLAC.make
README
README.rockbox
shndec.c
shndec.h
SOURCES

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* Read the file COPYING. ffmpeg and the associated libraries EXCEPT
  liba52 and libpostproc are licensed under the Lesser GNU General
  Public License. 

* liba52 and libpostproc are distributed under the GNU General Public
  License and their compilation and use is optional in ffmpeg.

Fabrice Bellard.