Package: xcdroast
Version: 0.98+0alpha15-8
Severity: grave
Tags: patch
Justification: renders package unusable

When using xcdroast with cdrecord/wodim 1.0~pre5, xcdroast crashes with
a SEGFAULT when doing a "cdrecord -scanbus". See the attached patch for
a fix.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages xcdroast depends on:
ii  cdda2wav                    5:1.0~pre5-1 Creates WAV files from audio CDs
ii  debconf [debconf-2.0]       1.5.8        Debian configuration management sy
ii  libatk1.0-0                 1.12.3-1     The ATK accessibility toolkit
ii  libc6                       2.3.6.ds1-8  GNU C Library: Shared libraries
ii  libcairo2                   1.2.4-4      The Cairo 2D vector graphics libra
ii  libfontconfig1              2.4.1-2      generic font configuration library
ii  libglib2.0-0                2.12.4-1     The GLib library of C routines
ii  libgtk2.0-0                 2.8.20-3     The GTK+ graphical user interface 
ii  libpango1.0-0               1.14.7-1     Layout and rendering of internatio
ii  libx11-6                    2:1.0.3-2    X11 client-side library
ii  libxcursor1                 1.1.7-4      X cursor management library
ii  libxext6                    1:1.0.1-2    X11 miscellaneous extension librar
ii  libxfixes3                  1:4.0.1-4    X11 miscellaneous 'fixes' extensio
ii  libxi6                      1:1.0.1-3    X11 Input extension library
ii  libxinerama1                1:1.0.1-4.1  X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1                 1:0.9.1-3    X Rendering Extension client libra
ii  mkisofs                     5:1.0~pre5-1 Creates ISO-9660 CD-ROM filesystem
ii  wodim                       5:1.0~pre5-1 command line CD/DVD writing tool

xcdroast recommends no packages.

-- debconf information excluded
diff -urNad xcdroast-0.98alpha15.orig/src/io.c xcdroast-0.98alpha15/src/io.c
--- xcdroast-0.98alpha15.orig/src/io.c  2006-11-11 13:39:27.000000000 +0100
+++ xcdroast-0.98alpha15/src/io.c       2006-11-11 13:40:59.000000000 +0100
@@ -348,6 +348,12 @@
               return;
       }

+       /* as of cdrkit-1.0_pre5 we need to test for wodim: as well */
+       strcpy(tmp,"wodim: ");
+       if (strncmp(line, tmp, strlen(tmp)) == 0) {
+               return;
+       }
+       
       /* a line with device-info found (by checking for ")")*/
       p1 = index(line,')');
       if (p1 != NULL && !strstr(line,")\"") &&

Reply via email to