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

Michael Niedermayer michaelni at gmx.at
Sat Sep 24 19:01:12 CEST 2011

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.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110924/67a51e5e/attachment.asc>

More information about the ffmpeg-devel mailing list