[pkg-mad-maintainers] Bug#287519: libmad: Assertion failed; buffer overflow

Glenn Maynard glenn at zewt.org
Sun Jan 15 18:06:24 UTC 2006


On Sun, Jan 15, 2006 at 04:07:19PM +0100, Kurt Roeckx wrote:
> I've been trying to reproduce this bug with Glenn's testfile but
> was unable to do it.  It gives all kind of error messages, but
> that is about all it does.
> 
> Can someone still reproduce this problem?

I still can, in unstable.

wget http://www.bsd-dk.dk/~elrond/audio/madlld/files/madlld-1.1p1.tar.gz
tar zxvf madlld-1.1p1.tar.gz
cd madlld-1.1p1
 - change INPUT_BUFFER_SIZE on madlld.c line 311 to (4*8192)
make
wget 'http://zewt.org/~glenn/testfile'
./madlld < testfile

madlld: layer3.c:2633: mad_layer_III: Assertion `stream->md_len + md_len - si.main_data_begin <= (511 + 2048 + 8)' failed.

(I'm glad that assertions are enabled in Debian's library.  My build,
wherever it was I had originally troubleshot this, didn't, and it would
have saved much work.)

-- 
Glenn Maynard




More information about the pkg-mad-maintainers mailing list