[FFmpeg-devel] [PATCH] lavfi/avcodec: add consistency checks in avfilter_copy_buf_props()
Michael Niedermayer
michaelni at gmx.at
Sun Jun 10 20:28:50 CEST 2012
On Sun, Jun 10, 2012 at 06:34:30PM +0200, Stefano Sabatini wrote:
> Fix possible crash.
> ---
> libavfilter/avcodec.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
the dst==NULL case and src==dst==NULL should be ok
about dst!=NULL && src==NULL iam unsure, it would leave the destination
in undefined state if the user app doesnt check the return value thus
a immedeate crash may actually be better
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- 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/20120610/f7b19d4b/attachment.asc>
More information about the ffmpeg-devel
mailing list