summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--id3v2/build/id3v2_malloc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/id3v2/build/id3v2_malloc.patch b/id3v2/build/id3v2_malloc.patch
new file mode 100644
index 00000000..f984689b
--- /dev/null
+++ b/id3v2/build/id3v2_malloc.patch
@@ -0,0 +1,11 @@
+--- id3v2.cpp.orig 2004-05-04 20:30:15.000000000 +0200
++++ id3v2.cpp 2007-10-07 04:13:53.000000000 +0200
+@@ -431,7 +431,7 @@
+ if (*currentTrackNum == '/')
+ {
+ newTrackNum = (char *)malloc(strlen(currentTrackNum)
+- + strlen(frameList[ii].data));
++ + strlen(frameList[ii].data) + 2);
+ strcpy(newTrackNum, frameList[ii].data);
+ strcat(newTrackNum, currentTrackNum);
+ }