#38 Buffer overflow on lame transcoding

open
nobody
None
5
2011-09-04
2011-09-04
Giles
No

Recently lame transcoding crashes fuppes. I use Ubuntu 11.04. Occurs with version 680 and 686. Backtrace+memory map:

*** buffer overflow detected ***: fuppes terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0xd00df0]
/lib/i386-linux-gnu/libc.so.6(+0xe4cca)[0xcffcca]
/lib/i386-linux-gnu/libc.so.6(+0xe43c8)[0xcff3c8]
/lib/i386-linux-gnu/libc.so.6(_IO_default_xsputn+0x95)[0xc847e5]
/lib/i386-linux-gnu/libc.so.6(_IO_vfprintf+0x1b71)[0xc59cd1]
/lib/i386-linux-gnu/libc.so.6(__vsprintf_chk+0xad)[0xcff47d]
/lib/i386-linux-gnu/libc.so.6(__sprintf_chk+0x2d)[0xcff3bd]
/usr/lib/libfuppes.so.0(_ZN12CLameWrapper4InitEv+0x1ff)[0x36963f]
/usr/lib/libfuppes.so.0(_ZN23CTranscodingCacheObject3runEv+0x146)[0x366666]
/usr/lib/libfuppes.so.0(_ZN6fuppes6Thread10threadFuncEPv+0x30)[0x2e1c20]
/lib/i386-linux-gnu/libpthread.so.0(+0x5e99)[0x134e99]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xceb73e]
======= Memory map: ========
00110000-0012a000 r-xp 00000000 08:01 2098013 /lib/i386-linux-gnu/libgcc_s.so.1
0012a000-0012b000 r--p 00019000 08:01 2098013 /lib/i386-linux-gnu/libgcc_s.so.1
0012b000-0012c000 rw-p 0001a000 08:01 2098013 /lib/i386-linux-gnu/libgcc_s.so.1
0012c000-0012d000 r-xp 00000000 08:01 1712048 /usr/lib/fuppes/libmetadata_magickwand.so.0.0.0
0012d000-0012e000 r--p 00000000 08:01 1712048 /usr/lib/fuppes/libmetadata_magickwand.so.0.0.0
0012e000-0012f000 rw-p 00001000 08:01 1712048 /usr/lib/fuppes/libmetadata_magickwand.so.0.0.0
0012f000-00144000 r-xp 00000000 08:01 2098050 /lib/i386-linux-gnu/libpthread-2.13.so
00144000-00145000 r--p 00015000 08:01 2098050 /lib/i386-linux-gnu/libpthread-2.13.so
00145000-00146000 rw-p 00016000 08:01 2098050 /lib/i386-linux-gnu/libpthread-2.13.so
00146000-00148000 rw-p 00000000 00:00 0
00148000-00185000 r-xp 00000000 08:01 2098047 /lib/i386-linux-gnu/libpcre.so.3.12.1
00185000-00186000 r--p 0003c000 08:01 2098047 /lib/i386-linux-gnu/libpcre.so.3.12.1
00186000-00187000 rw-p 0003d000 08:01 2098047 /lib/i386-linux-gnu/libpcre.so.3.12.1
00187000-00196000 r-xp 00000000 08:01 524935 /usr/lib/i686/cmov/libavutil.so.50.15.1
00196000-00197000 r--p 0000e000 08:01 524935 /usr/lib/i686/cmov/libavutil.so.50.15.1
00197000-00198000 rw-p 0000f000 08:01 524935 /usr/lib/i686/cmov/libavutil.so.50.15.1
00198000-0019b000 rw-p 00000000 00:00 0
0019b000-001aa000 r-xp 00000000 08:01 2097187 /lib/libbz2.so.1.0.4
001aa000-001ab000 r--p 0000f000 08:01 2097187 /lib/libbz2.so.1.0.4
001ab000-001ac000 rw-p 00010000 08:01 2097187 /lib/libbz2.so.1.0.4
001ac000-001b1000 r-xp 00000000 08:01 397368 /usr/lib/libogg.so.0.7.0
001b1000-001b2000 r--p 00004000 08:01 397368 /usr/lib/libogg.so.0.7.0
001b2000-001b3000 rw-p 00005000 08:01 397368 /usr/lib/libogg.so.0.7.0
001b3000-001b5000 r-xp 00000000 08:01 1712072 /usr/lib/fuppes/libdecoder_musepack.so.0.0.0
001b5000-001b6000 r--p 00001000 08:01 1712072 /usr/lib/fuppes/libdecoder_musepack.so.0.0.0
001b6000-001b7000 rw-p 00002000 08:01 1712072 /usr/lib/fuppes/libdecoder_musepack.so.0.0.0
001b9000-001c1000 r-xp 00000000 08:01 1712032 /usr/lib/fuppes/libdatabase_sqlite3.so.0.0.0
001c1000-001c2000 r--p 00007000 08:01 1712032 /usr/lib/fuppes/libdatabase_sqlite3.so.0.0.0
001c2000-001c3000 rw-p 00008000 08:01 1712032 /usr/lib/fuppes/libdatabase_sqlite3.so.0.0.0
001c3000-0024a000 r-xp 00000000 08:01 399530 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
0024a000-0024b000 ---p 00087000 08:01 399530 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
0024b000-0024c000 r--p 00087000 08:01 399530 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
0024c000-0024d000 rw-p 00088000 08:01 399530 /usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
0024d000-0024e000 rw-p 00000000 00:00 0
0024e000-00266000 r-xp 00000000 08:01 397528 /usr/lib/libtheoradec.so.1.1.4
00266000-00267000 r--p 00017000 08:01 397528 /usr/lib/libtheoradec.so.1.1.4
00267000-00268000 rw-p 00018000 08:01 397528 /usr/lib/libtheoradec.so.1.1.4
0026a000-0026d000 r-xp 00000000 08:01 2098066 /lib/i386-linux-gnu/libuuid.so.1.3.0
0026d000-0026e000 r--p 00002000 08:01 2098066 /lib/i386-linux-gnu/libuuid.so.1.3.0
0026e000-0026f000 rw-p 00003000 08:01 2098066 /lib/i386-linux-gnu/libuuid.so.1.3.0
0026f000-003db000 r-xp 00000000 08:01 394288 /usr/lib/libfuppes.so.0.0.0
003db000-003dd000 r--p 0016b000 08:01 394288 /usr/lib/libfuppes.so.0.0.0
003dd000-003df000 rw-p 0016d000 08:01 394288 /usr/lib/libfuppes.so.0.0.0
003df000-00465000 r-xp 00000000 08:01 399360 /usr/lib/libdirac_encoder.so.0.1.0
00465000-00467000 r--p 00085000 08:01 399360 /usr/lib/libdirac_encoder.so.0.1.0
00467000-00468000 rw-p 00087000 08:01 399360 /usr/lib/libdirac_encoder.so.0.1.0
00468000-00469000 rw-p 00000000 00:00 0
0046a000-00486000 r-xp 00000000 08:01 2097972 /lib/i386-linux-gnu/ld-2.13.so
00486000-00487000 r--p 0001b000 08:01 2097972 /lib/i386-linux-gnu/ld-2.13.so
00487000-00488000 rw-p 0001c000 08:01 2097972 /lib/i386-linux-gnu/ld-2.13.so
00488000-004a5000 r-xp 00000000 08:01 401992 /usr/lib/libopenjpeg-2.1.3.0.so
004a5000-004a6000 r--p 0001c000 08:01 401992 /usr/lib/libopenjpeg-2.1.3.0.so
004a6000-004a7000 rw-p 0001d000 08:01 401992 /usr/lib/libopenjpeg-2.1.3.0.so
004a8000-005cb000 r-xp 00000000 08:01 399460 /usr/lib/libxml2.so.2.7.8
005cb000-005cf000 r--p 00123000 08:01 399460 /usr/lib/libxml2.so.2.7.8
005cf000-005d0000 rw-p 00127000 08:01 399460 /usr/lib/libxml2.so.2.7.8
005d0000-005d1000 rw-p 00000000 00:00 0
005d1000-006b0000 r-xp 00000000 08:01 399532 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
006b0000-006b4000 r--p 000de000 08:01 399532 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
006b4000-006b5000 rw-p 000e2000 08:01 399532 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
006b5000-006bc000 rw-p 00000000 00:00 0
006bc000-006f7000 r-xp 00000000 08:01 403007 /usr/lib/libfaad.so.2.0.0
006f7000-006f8000 r--p 0003a000 08:01 403007 /usr/lib/libfaad.so.2.0.0
006f8000-006fb000 rw-p 0003b000 08:01 403007 /usr/lib/libfaad.so.2.0.0
006fb000-0070b000 r-xp 00000000 08:01 402582 /usr/lib/liblqr-1.so.0.3.1
0070b000-0070c000 r--p 0000f000 08:01 402582 /usr/lib/liblqr-1.so.0.3.1
0070c000-0070d000 rw-p 00010000 08:01 402582 /usr/lib/liblqr-1.so.0.3.1
0070d000-0070f000 r-xp 00000000 08:01 399405 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
0070f000-00710000 r--p 00001000 08:01 399405 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
00710000-00711000 rw-p 00002000 08:01 399405 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
00713000-00715000 r-xp 00000000 08:01 2097995 /lib/i386-linux-gnu/libdl-2.13.so
00715000-00716000 r--p 00001000 08:01 2097995 /lib/i386-linux-gnu/libdl-2.13.so
00716000-00717000 rw-p 00002000 08:01 2097995 /lib/i386-linux-gnu/libdl-2.13.so
00717000-00732000 r-xp 00000000 08:01 401815 /usr/lib/sse2/libspeex.so.1.5.0
00732000-00733000 r--p 0001a000 08:01 401815 /usr/lib/sse2/libspeex.so.1.5.0
00733000-00734000 rw-p 0001b000 08:01 401815 /usr/lib/sse2/libspeex.so.1.5.0
00734000-00759000 r-xp 00000000 08:01 397563 /usr/lib/libvorbis.so.0.4.5
00759000-0075a000 r--p 00025000 08:01 397563 /usr/lib/libvorbis.so.0.4.5
0075a000-0075b000 rw-p 00026000 08:01 397563 /usr/lib/libvorbis.so.0.4.5
0075b000-00762000 r-xp 00000000 08:01 397287 /usr/lib/libltdl.so.7.2.1
00762000-00763000 r--p 00006000 08:01 397287 /usr/lib/libltdl.so.7.2.1
00763000-00764000 rw-p 00007000 08:01 397287 /usr/lib/libltdl.so.7.2.1
00764000-00765000 r-xp 00000000 08:01 1712068 /usr/lib/fuppes/libdecoder_flac.so.0.0.0
00765000-00766000 r--p 00000000 08:01 1712068 /usr/lib/fuppes/libdecoder_flac.so.0.0.0
00766000-00767000 rw-p 00001000 08:01 1712068 /usr/lib/fuppes/libdecoder_flac.so.0.0.0
00768000-00769000 r-xp 00000000 08:01 1712080 /usr/lib/fuppes/libencoder_wav.so.0.0.0
00769000-0076a000 r--p 00000000 08:01 1712080 /usr/lib/fuppes/libencoder_wav.so.0.0.0
0076a000-0076b000 rw-p 00001000 08:01 1712080 /usr/lib/fuppes/libencoder_wav.so.0.0.0
0076b000-00836000 r-xp 00000000 08:01 524946 /usr/lib/i686/cmov/libavformat.so.52.64.2
00836000-00837000 r--p 000ca000 08:01 524946 /usr/lib/i686/cmov/libavformat.so.52.64.2
00837000-0083d000 rw-p 000cb000 08:01 524946 /usr/lib/i686/cmov/libavformat.so.52.64.2
0083d000-0086a000 r-xp 00000000 08:01 397274 /usr/lib/liblcms.so.1.0.18
0086a000-0086b000 r--p 0002c000 08:01 397274 /usr/lib/liblcms.so.1.0.18
0086b000-0086c000 rw-p 0002d000 08:01 397274 /usr/lib/liblcms.so.1.0.18
0086c000-0086e000 rw-p 00000000 00:00 0 Aborted

Discussion