libmodplug 0.8.4 crashes when fed certain MPEG files. This is a problem in some scenarios when MPEG files are named as *.mod and media players feed them to libmodplug, such as described in https://bugzilla.redhat.com/show_bug.cgi?id=483146
#0 0x0000003308632f05 in raise () from /lib64/libc.so.6
#1 0x0000003308634a73 in abort () from /lib64/libc.so.6
#2 0x0000003308672438 in __libc_message () from /lib64/libc.so.6
#3 0x00000033086ff4c7 in __fortify_fail () from /lib64/libc.so.6
#4 0x00000033086fd370 in __chk_fail () from /lib64/libc.so.6
#5 0x00000033086fc57d in __strncpy_chk () from /lib64/libc.so.6
#6 0x0000003307641faf in PAT_Load_Instruments () from /usr/lib64/libmodplug.so.0
#7 0x000000330763a120 in CSoundFile::ReadABC () from /usr/lib64/libmodplug.so.0
#8 0x000000330760f183 in CSoundFile::Create () from /usr/lib64/libmodplug.so.0
Full backtrace is in the above bugzilla.redhat.com bug report. One sample file which triggers a crash is http://samples.mplayerhq.hu/A-codecs/MP3/mpeg_layer1_audio.mpg (although this might be a different crash than the one referenced in the above bug report; both involve CSoundFile::ReadABC() though).
The expected result would be a graceful failure to open such a file instead of a crash.
Log in to post a comment.