[MPlayer-dev-eng] [PATCH] to free_demuxer to avoid glibc "double free or corruption" crash

Mark James mrj at bigpond.net.au
Mon Aug 22 09:07:04 CEST 2005


Attached patch to libmpdemux/demuxer.c in MPlayer-20050806 fixes
glibc-initiated crash with a "double free or corruption" error
when the demuxer is a demuxer-demuxer.

Test of demuxer type was being made after the demuxer was closed
and free-d.  Type test is now made prior to the free, and saved
test result is used after the free.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MPlayer-20050806.free_demuxer.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050822/d97ec6a8/attachment.bin>


More information about the MPlayer-dev-eng mailing list