summaryrefslogtreecommitdiff
path: root/multimedia/cdcat/bugfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/cdcat/bugfix.patch')
-rw-r--r--multimedia/cdcat/bugfix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/cdcat/bugfix.patch b/multimedia/cdcat/bugfix.patch
new file mode 100644
index 0000000000..3b60c47f38
--- /dev/null
+++ b/multimedia/cdcat/bugfix.patch
@@ -0,0 +1,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);
+