• Max Kellermann's avatar
    mp3: fix buffer overflow when max_frames is too large · 913028a7
    Max Kellermann authored
    The function decodeFirstFrame() allocates memory based on data from
    the mp3 header.  This can make the buffer size allocation overflow, or
    lead to a DoS attack with a very large buffer.  Cap this buffer at 8
    million frames, which should really be enough for reasonable files.
    913028a7
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...