[FFmpeg-devel] [PATCH] cdxl: disable checked bitstream reader

Paul B Mahol onemda at gmail.com
Sun Jun 17 13:25:30 CEST 2012


Overreads should not be possible.

Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/cdxl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c
index 3701891..abf4a38 100644
--- a/libavcodec/cdxl.c
+++ b/libavcodec/cdxl.c
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define UNCHECKED_BITSTREAM_READER 1
+
 #include "libavutil/intreadwrite.h"
 #include "libavutil/imgutils.h"
 #include "avcodec.h"
-- 
1.7.7



More information about the ffmpeg-devel mailing list