diff options
| author | Stanislav Malyshev <stas@php.net> | 2010-06-29 00:58:31 +0000 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2010-06-29 00:58:31 +0000 |
| commit | de8022e90550c49b54c5e83d40934095b3e7d470 (patch) | |
| tree | d209103370357a26e21e047d86310c74b6749598 /ext/standard/php_var.h | |
| parent | f62f88cb762a90e3c9fe37b6d6f5dbf086bc8f9e (diff) | |
| download | php-git-de8022e90550c49b54c5e83d40934095b3e7d470.tar.gz | |
fix SplObjectStorage unserialization (CVE-2010-2225)
Diffstat (limited to 'ext/standard/php_var.h')
| -rw-r--r-- | ext/standard/php_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h index e74680c548..ce4db5bdf4 100644 --- a/ext/standard/php_var.h +++ b/ext/standard/php_var.h @@ -100,6 +100,7 @@ do { \ } while (0) PHPAPI void var_replace(php_unserialize_data_t *var_hash, zval *ozval, zval **nzval); +PHPAPI void var_push_dtor(php_unserialize_data_t *var_hash, zval **val); PHPAPI void var_destroy(php_unserialize_data_t *var_hash); #define PHP_VAR_UNSERIALIZE_ZVAL_CHANGED(var_hash, ozval, nzval) \ |
