[FFmpeg-devel] [PATCH 2/6] Fixed segfaults on corruped VMD streams in the decoder.

Laurent Aimar fenrir at elivagar.org
Sat Sep 24 23:13:25 CEST 2011


On Sat, Sep 24, 2011 at 07:01:12PM +0200, Michael Niedermayer wrote:
> On Sat, Sep 24, 2011 at 06:50:15PM +0200, fenrir at elivagar.org wrote:
> > From: Laurent Aimar <fenrir at videolan.org>
> > 
> > ---
> >  libavcodec/vmdav.c |  111 +++++++++++++++++++++++++++++++++++++++------------
> >  1 files changed, 85 insertions(+), 26 deletions(-)
> 
> I think this maybe would be simpler with a end pointer instead of a
> size remaining as a pointer to the end doesnt need updating.
> That is, its also safer against forgetting to update the pointer +
> size together.
 I will split up a bit this patch to have the simple parts merged and
then I will see about the size checks.
So patch withdrawn.

-- 
fenrir


More information about the ffmpeg-devel mailing list