Bug#756329: vlc: Fix usage of AVFrame to avoid crashes
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Mon Jul 28 20:49:20 UTC 2014
Package: vlc
Version: 2.1.4-1
Severity: important
Tags: patch
Dear Maintainer,
in modules/codec/avcodec/audio.c one finds:
AVFrame frame;
memset( &frame, 0, sizeof( frame ) );
According to the documentation of libavutil this is wrong:
"sizeof(AVFrame) is not a part of the public ABI, so new fields may be
added to the end with a minor bump."
This code will crash, when used with a different AVFrame at runtime than
was available at compile-time.
The attached patch fixes this problem.
Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AVFrame.patch
Type: text/x-diff
Size: 4466 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140728/a3dbd9d1/attachment.patch>
More information about the pkg-multimedia-maintainers
mailing list