Package: vorbisgain
Version: 0.36-3.1
Severity: normal
vorbisgain crashes when it is given input filenames whose length is close to the maximum of 255 chars, because the tempfile name exceeds 255 chars in size.

Here is an example:

$ cp file.ogg `numrange -n_ '/0000..0050/'`
$ vorbisgain `numrange -n_ '/0000..0050/'`
Analyzing files...

 Gain   |  Peak  | Scale | New Peak | Track
----------+--------+-------+----------+------
-1.51 dB | 29207 | 0.84 | 24546 | 0000_0001_0002_0003_0004_0005_0006_0007_0008_0009_0010_0011_0012_0013_0014_0015_0016_0017_0018_0019_0020_0021_0022_0023_0024_0025_0026_0027_0028_0029_0030_0031_0032_0033_0034_0035_0036_0037_0038_0039_0040_0041_0042_0043_0044_0045_0046_0047_0048_0049_0050 Couldn't open '0000_0001_0002_0003_0004_0005_0006_0007_0008_0009_0010_0011_0012_0013_0014_0015_0016_0017_0018_0019_0020_0021_0022_0023_0024_0025_0026_0027_0028_0029_0030_0031_0032_0033_0034_0035_0036_0037_0038_0039_0040_0041_0042_0043_0044_0045_0046_0047_0048_0049_0050.vgain.tmp' for output: File name too long *** glibc detected *** vorbisgain: double free or corruption (!prev): 0x0000000000df7260 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f782afe3118]
/lib/libc.so.6(cfree+0x76)[0x7f782afe4c56]
/lib/libc.so.6(fclose+0x151)[0x7f782afd3a21]
vorbisgain[0x4032fd]
vorbisgain[0x402790]
vorbisgain[0x402c4f]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f782af8f5a6]
vorbisgain(fwrite+0xc1)[0x401fb9]
======= Memory map: ========
00400000-00409000 r-xp 00000000 fe:00 205327 /usr/bin/vorbisgain 00608000-00609000 rw-p 00008000 fe:00 205327 /usr/bin/vorbisgain
00609000-0062a000 rw-p 00609000 00:00 0
00df7000-00e18000 rw-p 00df7000 00:00 0 [heap]
7f7824000000-7f7824021000 rw-p 7f7824000000 00:00 0
7f7824021000-7f7828000000 ---p 7f7824021000 00:00 0
7f782ad56000-7f782ad70000 r-xp 00000000 fe:00 151286 /lib/libgcc_s.so.1 7f782ad70000-7f782af70000 ---p 0001a000 fe:00 151286 /lib/libgcc_s.so.1 7f782af70000-7f782af71000 rw-p 0001a000 fe:00 151286 /lib/libgcc_s.so.1 7f782af71000-7f782b0ba000 r-xp 00000000 fe:00 151294 /lib/libc-2.9.so 7f782b0ba000-7f782b2ba000 ---p 00149000 fe:00 151294 /lib/libc-2.9.so 7f782b2ba000-7f782b2be000 r--p 00149000 fe:00 151294 /lib/libc-2.9.so 7f782b2be000-7f782b2bf000 rw-p 0014d000 fe:00 151294 /lib/libc-2.9.so
7f782b2bf000-7f782b2c4000 rw-p 7f782b2bf000 00:00 0
7f782b2c4000-7f782b2c9000 r-xp 00000000 fe:00 447176 /usr/lib/libogg.so.0.5.3 7f782b2c9000-7f782b4c8000 ---p 00005000 fe:00 447176 /usr/lib/libogg.so.0.5.3 7f782b4c8000-7f782b4c9000 rw-p 00004000 fe:00 447176 /usr/lib/libogg.so.0.5.3 7f782b4c9000-7f782b54b000 r-xp 00000000 fe:00 151279 /lib/libm-2.9.so 7f782b54b000-7f782b74a000 ---p 00082000 fe:00 151279 /lib/libm-2.9.so 7f782b74a000-7f782b74b000 r--p 00081000 fe:00 151279 /lib/libm-2.9.so 7f782b74b000-7f782b74c000 rw-p 00082000 fe:00 151279 /lib/libm-2.9.so 7f782b74c000-7f782b76b000 r-xp 00000000 fe:00 446194 /usr/lib/libvorbis.so.0.4.0 7f782b76b000-7f782b96a000 ---p 0001f000 fe:00 446194 /usr/lib/libvorbis.so.0.4.0 7f782b96a000-7f782b979000 rw-p 0001e000 fe:00 446194 /usr/lib/libvorbis.so.0.4.0 7f782b979000-7f782b980000 r-xp 00000000 fe:00 447311 /usr/lib/libvorbisfile.so.3.2.0 7f782b980000-7f782bb7f000 ---p 00007000 fe:00 447311 /usr/lib/libvorbisfile.so.3.2.0 7f782bb7f000-7f782bb80000 rw-p 00006000 fe:00 447311 /usr/lib/libvorbisfile.so.3.2.0 7f782bb80000-7f782bb9d000 r-xp 00000000 fe:00 151281 /lib/ld-2.9.so
7f782bd71000-7f782bd74000 rw-p 7f782bd71000 00:00 0
7f782bd97000-7f782bd98000 rw-p 7f782bd97000 00:00 0
7f782bd99000-7f782bd9c000 rw-p 7f782bd99000 00:00 0
7f782bd9c000-7f782bd9d000 r--p 0001c000 fe:00 151281 /lib/ld-2.9.so 7f782bd9d000-7f782bd9e000 rw-p 0001d000 fe:00 151281 /lib/ld-2.9.so 7fff33d89000-7fff33d9e000 rw-p 7ffffffea000 00:00 0 [stack] 7fff33dff000-7fff33e00000 r-xp 7fff33dff000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted


-- System Information:
Debian Release: squeeze/sid
 APT prefers testing
APT policy: (900, 'testing'), (500, 'stable'), (100, 'unstable'), (20, 'intrepid'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-core2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vorbisgain depends on:
ii  libc6                       2.9-12       GNU C Library: Shared libraries
ii  libogg0                     1.1.3-5      Ogg Bitstream Library
ii libvorbis0a 1.2.0.dfsg-5 The Vorbis General Audio Compressi ii libvorbisfile3 1.2.0.dfsg-5 The Vorbis General Audio Compressi

vorbisgain recommends no packages.

vorbisgain suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to