[FFmpeg-cvslog] mpegaudiodec: Enable checked bitstream reader.
Michael Niedermayer
git at videolan.org
Thu Mar 1 06:43:08 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 1 05:29:20 2012 +0100| [8263212e8659fed37a9ee77c15599610470b4ac5] | committer: Michael Niedermayer
mpegaudiodec: Enable checked bitstream reader.
It appears there are corner cases with damaged input that can lead
to small overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8263212e8659fed37a9ee77c15599610470b4ac5
---
libavcodec/mpegaudiodec.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index ddb7695..b80d7c7 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -24,8 +24,6 @@
* MPEG Audio decoder
*/
-#define UNCHECKED_BITSTREAM_READER 1
-
#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "get_bits.h"
More information about the ffmpeg-cvslog
mailing list