mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
Fixed bug #36205 (Memory leaks on duplicate cookies)
This commit is contained in:
1
NEWS
1
NEWS
@@ -5,6 +5,7 @@ PHP NEWS
|
||||
array when row number > field_count). (Georg)
|
||||
- Renamed CachingRecursiveIterator to RecursiveCachingIterator. (Marcus)
|
||||
- Fixed bug #36303 (foreach on error_zval produces segfault). (Dmitry)
|
||||
- Fixed bug #36205 (Memory leaks on duplicate cookies). (Dmitry)
|
||||
- Fixed bug #36071 (Engine Crash related with 'clone'). (Dmitry)
|
||||
- Fixed bug #36006 (Problem with $this in __destruct()). (Dmitry)
|
||||
- Fixed bug #35612 (iis6 Access Violation crash). (Dmitry, alacn.uhahaa)
|
||||
|
||||
@@ -204,6 +204,7 @@ plain_var:
|
||||
if (PG(http_globals)[TRACK_VARS_COOKIE] && symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) &&
|
||||
zend_symtable_find(symtable1, escaped_index, index_len+1, (void **) &tmp) != FAILURE) {
|
||||
efree(escaped_index);
|
||||
zval_ptr_dtor(&gpc_element);
|
||||
break;
|
||||
}
|
||||
zend_symtable_update(symtable1, escaped_index, index_len+1, &gpc_element, sizeof(zval *), (void **) &gpc_element_p);
|
||||
|
||||
Reference in New Issue
Block a user