File php-CVE-2016-5772.patch of Package php7.15211
Index: php-7.0.7/ext/wddx/wddx.c
===================================================================
--- php-7.0.7.orig/ext/wddx/wddx.c 2016-06-27 09:15:59.809152246 +0200
+++ php-7.0.7/ext/wddx/wddx.c 2016-06-27 09:18:04.667162434 +0200
@@ -1019,6 +1022,7 @@ static void php_wddx_process_data(void *
zval_ptr_dtor(&ent->data);
if (ent->varname) {
efree(ent->varname);
+ ent->varname = NULL;
}
ZVAL_UNDEF(&ent->data);
}