Bug#168683: libcdparanoia0: k3b segfaults due to bug in libcdda_interface.so.0
Package: libcdparanoia0
Version: 3a9.8-7
Severity: normal
Tags: patch
I compiled k3b (http://k3b.sourceforge.net/) and it segfaulted.
Gdb shows that the problem is in libcdda_interface.so.0
The following patch fixes the problem:
diff -ur cdparanoia-3a9.8.orig/interface/scan_devices.c cdparanoia-3a9.8/interface/scan_devices.c
--- cdparanoia-3a9.8.orig/interface/scan_devices.c Mon Mar 26 09:44:01 2001
+++ cdparanoia-3a9.8/interface/scan_devices.c Mon Nov 11 18:17:26 2002
@@ -617,7 +617,8 @@
/* It would seem some TOSHIBA CDROMs gets things wrong */
- if (!strncmp (p + 8, "TOSHIBA", 7) &&
+ if (p &&
+ !strncmp (p + 8, "TOSHIBA", 7) &&
!strncmp (p + 16, "CD-ROM", 6) &&
p[0] == TYPE_DISK) {
p[0] = TYPE_ROM;
-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux zigzag 2.4.19 #1 óÒÄ îÏÑ 6 17:54:30 MSK 2002 i686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R
Versions of packages libcdparanoia0 depends on:
ii libc6 2.3.1-3 GNU C Library: Shared libraries an
-- no debconf information
Reply to: