[FFmpeg-devel] [PATCH 04/16] txd: check for out of bound reads.

Laurent Aimar fenrir at elivagar.org
Sun Oct 9 03:33:38 CEST 2011


On Sun, Oct 09, 2011 at 03:24:32AM +0200, Michael Niedermayer wrote:
> > > > The space before ) should not be there.
> > > > Also seems simpler as
> > > > uint32_t length = bytestream_get_le32(&cur);
> > > > if (length > buf_end - cur)
> > > >   break;
> > > > cur += length;
> > > 
> > > Patch attached.
> > 
> > applied, thanks
> 
> #include bytestream.h added
Thanks.

-- 
fenrir


More information about the ffmpeg-devel mailing list