[FFmpeg-cvslog] AMV: Fix possibly exploitable crash.
Michael Niedermayer
git at videolan.org
Tue Apr 26 12:16:13 CEST 2011
ffmpeg | branch: release/0.5 | Michael Niedermayer <michaelni at gmx.at> | Thu Apr 21 22:04:21 2011 +0200| [8210ee22e2f69d540f8835523dd78a205ae6c2a6] | committer: Michael Niedermayer
AMV: Fix possibly exploitable crash.
Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
Reported-by: Dominic Chell <Dominic.Chell at ngssecure.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8210ee22e2f69d540f8835523dd78a205ae6c2a6
---
libavcodec/sp5xdec.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c
index 920b32d..f1e436c 100644
--- a/libavcodec/sp5xdec.c
+++ b/libavcodec/sp5xdec.c
@@ -88,7 +88,6 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
recoded[j++] = 0xFF;
recoded[j++] = 0xD9;
- avctx->flags &= ~CODEC_FLAG_EMU_EDGE;
i = ff_mjpeg_decode_frame(avctx, data, data_size, recoded, j);
av_free(recoded);
More information about the ffmpeg-cvslog
mailing list