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-2020 The PHP Group
All rights reserved.
Last updated: Mon Feb 24 06:01:26 2020 UTC