mpd/src/inputPlugins
Max Kellermann 913028a780 mp3: fix buffer overflow when max_frames is too large
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.
2008-09-17 22:30:34 +02:00
..
_flac_common.c tag: renamed functions, no CamelCase 2008-08-29 09:38:21 +02:00
_flac_common.h audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
_ogg_common.c added decoder_read() 2008-08-26 08:27:14 +02:00
_ogg_common.h moved InputPlugin to decoder_api.h 2008-08-26 08:27:06 +02:00
aac_plugin.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
audiofile_plugin.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
flac_plugin.c tag: renamed functions, no CamelCase 2008-08-29 09:38:21 +02:00
mod_plugin.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
mp3_plugin.c mp3: fix buffer overflow when max_frames is too large 2008-09-17 22:30:34 +02:00
mp4_plugin.c mp4: fix potential integer overflow bug in the mp4_decode() function 2008-09-12 17:06:04 +02:00
mpc_plugin.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
oggflac_plugin.c oggflac: fix GCC warnings 2008-08-29 15:03:09 +02:00
oggvorbis_plugin.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00
wavpack_plugin.c audio_format: converted typedef AudioFormat to struct audio_format 2008-09-07 19:19:55 +02:00