[FFmpeg-devel] [PATCH 1/4] lavc/options: fix shallow copy context

Michael Niedermayer michaelni at gmx.at
Sat Nov 8 19:13:50 CET 2014


On Sat, Nov 08, 2014 at 06:13:50PM +0100, Lukasz Marek wrote:
> avcodec_copy_context leaves shallow copy of string/binary/dict options.
> Double free/accessing freed memory may occur.
> 
> Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> ---
>  libavcodec/options.c | 1 +
>  1 file changed, 1 insertion(+)

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141108/f311cfec/attachment.asc>


More information about the ffmpeg-devel mailing list