summaryrefslogtreecommitdiff
path: root/lang/php55/patches/patch-ext_spl_spl__dllist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php55/patches/patch-ext_spl_spl__dllist.c')
-rw-r--r--lang/php55/patches/patch-ext_spl_spl__dllist.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/lang/php55/patches/patch-ext_spl_spl__dllist.c b/lang/php55/patches/patch-ext_spl_spl__dllist.c
deleted file mode 100644
index 0561d78640c..00000000000
--- a/lang/php55/patches/patch-ext_spl_spl__dllist.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ext_spl_spl__dllist.c,v 1.1.2.2 2014/07/17 18:03:59 tron Exp $
-
-Fix for CVE-2014-4670.
-
---- ext/spl/spl_dllist.c.orig 2014-06-25 13:06:23.000000000 +0000
-+++ ext/spl/spl_dllist.c
-@@ -916,6 +916,11 @@ SPL_METHOD(SplDoublyLinkedList, offsetUn
- llist->dtor(element TSRMLS_CC);
- }
-
-+ if (intern->traverse_pointer == element) {
-+ SPL_LLIST_DELREF(element);
-+ intern->traverse_pointer = NULL;
-+ }
-+
- zval_ptr_dtor((zval **)&element->data);
- element->data = NULL;
-