summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-03-25 14:33:53 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-03-25 14:33:53 +0000
commit442ae48592a53bb7a4be4e99e2f673c3b9b64ba6 (patch)
tree4ac46e62a0725af4dd1fd74b32a40a6e9c698418
parent9fe0cc29f8894ecf142b0b5d068d02068261186a (diff)
downloadphp-git-442ae48592a53bb7a4be4e99e2f673c3b9b64ba6.tar.gz
Fixed MOPB-32-2007 (Double free inside session_decode())
-rw-r--r--ext/session/session.c1
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;
}
}