Package: cdcat
Followup-For: Bug #358929

I think this bug comes from the mp3 tag reader.
I join a patch that seems to solve this bug.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-486
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
diff -urN cdcat-1.01b/src/mp3tag.cpp cdcat-1.01b~/src/mp3tag.cpp
--- cdcat-1.01b/src/mp3tag.cpp  2005-08-22 19:03:00.000000000 +0200
+++ cdcat-1.01b~/src/mp3tag.cpp 2006-08-13 15:59:20.000000000 +0200
@@ -219,7 +219,7 @@
   unsigned int pos=0;
   unsigned int framelen;
   char id[5];
-  id[5] ='\0';
+  id[4] ='\0';
 
   fseek(mp3,0,SEEK_END);
   flen = ftell(mp3);

Attachment: pgpB4j9hvIFXk.pgp
Description: PGP signature

Reply via email to