diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-03-25 14:33:53 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-03-25 14:33:53 +0000 |
commit | 442ae48592a53bb7a4be4e99e2f673c3b9b64ba6 (patch) | |
tree | 4ac46e62a0725af4dd1fd74b32a40a6e9c698418 | |
parent | 9fe0cc29f8894ecf142b0b5d068d02068261186a (diff) | |
download | php-git-442ae48592a53bb7a4be4e99e2f673c3b9b64ba6.tar.gz |
Fixed MOPB-32-2007 (Double free inside session_decode())
-rw-r--r-- | ext/session/session.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 54bc3a3e67..47cf262744 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -535,7 +535,6 @@ PS_SERIALIZER_DECODE_FUNC(php) if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) { if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_session_vars)) { - efree(name); goto skip; } } |