Browse Source

AMV: Fix possibly exploitable crash.

Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
Reported-by: Dominic Chell <Dominic.Chell@ngssecure.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.5.5
Michael Niedermayer 15 years ago
parent
commit
8210ee22e2
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/sp5xdec.c

+ 0
- 1
libavcodec/sp5xdec.c View File

@@ -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);


Loading…
Cancel
Save