[FFmpeg-cvslog] r22856 - trunk/libavcodec/huffyuv.c
Jai Menon
jmenon86
Mon Apr 12 18:37:38 CEST 2010
On Mon, Apr 12, 2010 at 9:46 PM, benoit <subversion at mplayerhq.hu> wrote:
> Author: benoit
> Date: Mon Apr 12 18:16:43 2010
> New Revision: 22856
>
> Log:
> Extradata length checks for Huffyuv.
> Patch by Michael Kaufmann hallo $(name) dash $(surname) ch
>
> Modified:
> ? trunk/libavcodec/huffyuv.c
>
> Modified: trunk/libavcodec/huffyuv.c
> ==============================================================================
> --- trunk/libavcodec/huffyuv.c ?Mon Apr 12 18:05:10 2010 ? ? ? ?(r22855)
> +++ trunk/libavcodec/huffyuv.c ?Mon Apr 12 18:16:43 2010 ? ? ? ?(r22856)
> @@ -452,6 +452,9 @@ s->bgr32=1;
> ? ? if(s->version==2){
> ? ? ? ? int method, interlace;
>
> + ? ? ? ?if (avctx->extradata_size < 4)
> + ? ? ? ? ? ?return -1;
AVERROR_INVALIDDATA perhaps
--
Jai Menon
More information about the ffmpeg-cvslog
mailing list