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

Michael Niedermayer michael at niedermayer.cc
Sun Sep 4 23:43:04 EEST 2016


On Sun, Sep 04, 2016 at 09:15:47PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #5128.
> 
> Please comment, Carl Eugen

>  avpacket.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 0ddcbcddd2981c7ce86bf15943a1a4065a412b35  0001-lavc-avpacket-Fix-undefined-behaviour-do-not-pass-a-.patch
> From a3dcd65c313e6b456fcb05915508d8d583c1840e Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Date: Sun, 4 Sep 2016 21:11:02 +0200
> Subject: [PATCH] lavc/avpacket: Fix undefined behaviour, do not pass a null
>  pointer to memcpy().
> 
> Fixes ticket #5128.
> ---
>  libavcodec/avpacket.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

LGTM

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20160904/27141cfc/attachment.sig>


More information about the ffmpeg-devel mailing list