File php-CVE-2016-7411.patch of Package php5.3636

X-Git-Url: http://72.52.91.13:8000/?p=php-src.git;a=blobdiff_plain;f=ext%2Fstandard%2Fvar_unserializer.re;h=ce84bf5eb40cc6cc6a9c2f2b94f58d65c310cb15;hp=11b93c522b22614aedee30674807f67de3361815;hb=ba8f3ba05f8545a243881547dcd5a1dcfe4d4fb2;hpb=fbd78c03ab3614c526bb5efe234fd6f845478efb

Index: php-5.6.1/ext/standard/var_unserializer.re
===================================================================
--- php-5.6.1.orig/ext/standard/var_unserializer.re	2016-09-21 15:18:14.438611741 +0200
+++ php-5.6.1/ext/standard/var_unserializer.re	2016-09-21 15:18:41.599033552 +0200
@@ -438,6 +438,7 @@ static inline int object_common2(UNSERIA
            /* We've got partially constructed object on our hands here. Wipe it. */
            if(Z_TYPE_PP(rval) == IS_OBJECT) {
               zend_hash_clean(Z_OBJPROP_PP(rval));
+	       zend_object_store_ctor_failed(*rval TSRMLS_CC);
            }
            ZVAL_NULL(*rval);
 		return 0;
openSUSE Build Service is sponsored by