summaryrefslogtreecommitdiffstats
path: root/multimedia/cdcat/bugfix.patch
blob: 3b60c47f38baaee54ff4fa17c821530da0cd49af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);