slackbuilds_ponce/multimedia/cdcat/bugfix.patch
Niels Horn 7783970ca4 multimedia/cdcat: Added (gui catalog program)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-06-13 16:14:16 -05: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);