slackbuilds_ponce/multimedia/cdcat/bugfix.patch
2010-05-13 00:59:36 +02:00

13 lines
367 B
Diff

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);