summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/xmms-mp3cue/files/xmms-mp3cue-0.94-import-cue-bug.patch')
-rw-r--r--media-plugins/xmms-mp3cue/files/xmms-mp3cue-0.94-import-cue-bug.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-plugins/xmms-mp3cue/files/xmms-mp3cue-0.94-import-cue-bug.patch b/media-plugins/xmms-mp3cue/files/xmms-mp3cue-0.94-import-cue-bug.patch
new file mode 100644
index 000000000000..e7baeb1efeca
--- /dev/null
+++ b/media-plugins/xmms-mp3cue/files/xmms-mp3cue-0.94-import-cue-bug.patch
@@ -0,0 +1,11 @@
+--- cuesheet.c.orig 2003-10-22 10:23:00.000000000 +0200
++++ cuesheet.c 2004-01-27 14:33:23.000000000 +0100
+@@ -99,6 +99,8 @@
+ {
+ gchar *cue_name, *temp;
+
++ if (o_fname==NULL) return NULL;
++
+ //find the extension
+ for(temp = o_fname+strlen(o_fname)-1; *temp != '.' && temp != o_fname; temp--);
+