[FFmpeg-devel] rmdec.c: double free

Michael Niedermayer michaelni
Sun Dec 28 15:21:49 CET 2008


On Sun, Dec 28, 2008 at 09:08:45AM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> my previous commit induces a double free in priv_data. Attached patch
> fixes this.

the bug is a double free, the fix has to involve removing a av_free()

also if ff_rm_free_rmstream() frees priv_data (and that looks invalid already)
then priv_data has to be NULL after ff_rm_free_rmstream()

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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081228/cca58e22/attachment.pgp>



More information about the ffmpeg-devel mailing list