aboutsummaryrefslogtreecommitdiff
path: root/audio/id3v2/id3v2-0.1.11-track_no-segfault.patch
diff options
context:
space:
mode:
authorPaul Wisehart <wise@lupulin.net>2010-05-13 00:21:19 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:21:19 +0200
commita4e196804b255462af7c3034762ac0f0bac11e6a (patch)
treef3f3853b10079421c7dc8ddb45577d0f48481a5e /audio/id3v2/id3v2-0.1.11-track_no-segfault.patch
parent2ff64854a8e440e032c642ccdf44c7e24e86dc1b (diff)
audio/id3v2: Updated for version 0.1.11
Diffstat (limited to 'audio/id3v2/id3v2-0.1.11-track_no-segfault.patch')
-rw-r--r--audio/id3v2/id3v2-0.1.11-track_no-segfault.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/id3v2/id3v2-0.1.11-track_no-segfault.patch b/audio/id3v2/id3v2-0.1.11-track_no-segfault.patch
new file mode 100644
index 0000000000000..6a6a61e17a666
--- /dev/null
+++ b/audio/id3v2/id3v2-0.1.11-track_no-segfault.patch
@@ -0,0 +1,12 @@
+diff -uN id3v2-0.1.11/id3v2.cpp id3v2-0.1.11-patched/id3v2.cpp
+--- id3v2-0.1.11/id3v2.cpp 2004-05-04 19:30:15.000000000 +0100
++++ id3v2-0.1.11-patched/id3v2.cpp 2008-02-16 19:11:27.000000000 +0000
+@@ -423,7 +423,7 @@
+ {
+ // check if there is a total track number and if we only have
+ // the track number for this file. In this case combine them.
+- char *currentTrackNum, *newTrackNum;
++ char *currentTrackNum, *newTrackNum = NULL;
+
+ if (pFrame != NULL)
+ {