[FFmpeg-devel] [PATCH] lavu/imgutils: add consistency check to av_image_copy_plane()
Stefano Sabatini
stefasab at gmail.com
Mon Oct 29 15:45:18 CET 2012
On date Saturday 2012-09-08 02:15:17 +0200, Michael Niedermayer encoded:
> On Sat, Sep 08, 2012 at 12:35:50AM +0200, Stefano Sabatini wrote:
> > Add assertions and abort in case of invalid |dst_linesize| < bytewidth or
> > |src_linesize| < bytewidth.
> >
> > Avoid to silently corrupt memory.
> >
> > TODO: bump micro
>
> LGTM
>
> thanks
Updated, the patch was raising an abort in case src or dst were
NULL. Will push it in a few days if I read no comments.
--
FFmpeg = Fostering and Fiendish Monstrous Ponderous Educated Gigant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavu-imgutils-add-consistency-checks-to-av_image_cop.patch
Type: text/x-diff
Size: 1704 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121029/9ac9a988/attachment.bin>
More information about the ffmpeg-devel
mailing list