[FFmpeg-devel] [PATCH]lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy()

Michael Niedermayer michael at niedermayer.cc
Thu Sep 22 04:39:28 EEST 2016


On Thu, Sep 22, 2016 at 01:07:06AM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #5857.
> 
> Please comment, Carl Eugen

>  avpacket.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 6ff2850caef558476bbe522b398edd97233e69d9  0001-lavc-avpacket-Fix-undefined-behaviour-do-not-pass-a-.patch
> From 20e673f5303fef7b0adc7737d2023bebfe18014f Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Date: Thu, 22 Sep 2016 01:03:55 +0200
> Subject: [PATCH] lavc/avpacket: Fix undefined behaviour, do not pass a null
>  pointer to memcpy().
> 
> Fixes ticket #5857.

LGTM

please backport this one too

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160922/aed1555b/attachment.sig>


More information about the ffmpeg-devel mailing list