[pkg-mad-maintainers] Bug#508133: Bug#508133: audacity: munmap_chunk(): invalid pointer: 0x00000000026f4eb0

Kurt Roeckx kurt at roeckx.be
Sat Dec 13 15:30:52 UTC 2008


tags 508133 + patch security
thanks

On Tue, Dec 09, 2008 at 06:59:08AM +0100, Max Kellermann wrote:
> 
> It's a raw PCM file (16 bit stereo, 44.1 or 48 kHz).  The crash is
> reproducible by invoking "audacity libmad-crash-test".

I've attached a diff that fixes it for me.  But I'm not really
happy with it.

I'm abusing the MAD_ERROR_LOSTSYNC which make it an existing
recoverable error.  I should probably create new errors instead.

I'm also not sure that the changes I've made in layer12.c also
don't affect layer3.c.  I just didn't see such problems in layer3.c
with your test file.


Kurt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 508133.diff
Type: text/x-diff
Size: 4503 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mad-maintainers/attachments/20081213/fa3e6195/attachment.diff 


More information about the pkg-mad-maintainers mailing list