php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52888
Patch ze2-bug-52888 revision 2010-09-19 23:58 UTC by kalle@php.net

Patch ze2-bug-52888 for Reproducible crash Bug #52888

Patch version 2010-09-19 23:58 UTC

Return to Bug #52888 | Download this patch
Patch Revisions:

Developer: kalle@php.net

Index: zend_alloc.c
===================================================================
--- zend_alloc.c	(revision 303500)
+++ zend_alloc.c	(working copy)
@@ -1650,7 +1650,7 @@
 	} else {
 		if (segment) {
 			if (heap->reserve_size) {
-				while (segment->next_segment) {
+				while (segment) {
 					prev = segment;
 					segment = segment->next_segment;
 					ZEND_MM_STORAGE_FREE(prev);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC