summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xine-lib/patches/patch-at')
-rw-r--r--multimedia/xine-lib/patches/patch-at13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/xine-lib/patches/patch-at b/multimedia/xine-lib/patches/patch-at
new file mode 100644
index 00000000000..2ff68495b28
--- /dev/null
+++ b/multimedia/xine-lib/patches/patch-at
@@ -0,0 +1,13 @@
+$NetBSD: patch-at,v 1.3 2006/05/18 18:45:37 tron Exp $
+
+--- src/xine-utils/list.c.orig 2004-12-20 21:38:24.000000000 +0000
++++ src/xine-utils/list.c 2006-05-18 12:04:23.000000000 +0100
+@@ -229,6 +229,8 @@
+ xine_node_t *node_cur;
+
+ node_cur = l->cur;
++ if (node_cur == NULL)
++ return;
+
+ if(node_cur->prev) {
+ node_cur->prev->next = node_cur->next;