Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_4) / zend_alloc.c php-src NEWS

From: Date: Tue, 13 Dec 2005 19:10:52 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: Zend(PHP_4_4) / zend_alloc.c php-src NEWS
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4447@lists.php.net to get a copy of this message
    Interesting. There was actually a not to reset it:
revision 1.92 date: 2001/08/15 13:52:18; author: thies; state: Exp; lines: +0 -1 allocated_memory_peak should be only reset on scipt startup. right now the statistics are reset way too early.
--- zend_alloc.c        11 Aug 2001 15:57:07 -0000      1.91
+++ zend_alloc.c        15 Aug 2001 13:52:18 -0000      1.92
@@ -530,7 +530,6 @@ #if MEMORY_LIMIT
        AG(memory_exhausted)=0;
-       AG(allocated_memory_peak) = 0;
#endif On Tue, 13 Dec 2005, Antony Dovgal wrote:
tony2001 Tue Dec 13 18:52:58 2005 EDT
 Modified files:              (Branch: PHP_4_4)
/php-src NEWS /Zend zend_alloc.c Log: fix #35646 (%{mod_php_memory_usage}n is not reset after exit) patch by vovik at getart dot ru http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.1247.2.920.2.98&r2=1.1247.2.920.2.99&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.920.2.98 php-src/NEWS:1.1247.2.920.2.99 --- php-src/NEWS:1.1247.2.920.2.98 Thu Dec 8 03:26:16 2005 +++ php-src/NEWS Tue Dec 13 18:52:57 2005 @@ -3,6 +3,8 @@ ?? ??? 2005, Version 4.4.2 - Prevent header injection by limiting each header to a single line. (Ilia) - Fixed possible XSS inside error reporting functionality. (Ilia) +- Fixed bug #35646 (%{mod_php_memory_usage}n is not reset after exit). + (vovik at getart dot ru, Tony) - Fixed bug #35594 (Multiple calls to getopt() may result in a crash). (rabbitt at gmail dot com, Ilia) - Fixed bug #35536 (mysql_field_type() doesn't handle NEWDECIMAL). (Tony) http://cvs.php.net/viewcvs.cgi/Zend/zend_alloc.c?r1=1.105.4.9.2.1&r2=1.105.4.9.2.2&diff_format=u Index: Zend/zend_alloc.c diff -u Zend/zend_alloc.c:1.105.4.9.2.1 Zend/zend_alloc.c:1.105.4.9.2.2 --- Zend/zend_alloc.c:1.105.4.9.2.1 Thu Aug 18 15:14:48 2005 +++ Zend/zend_alloc.c Tue Dec 13 18:52:58 2005 @@ -538,6 +538,7 @@ #if MEMORY_LIMIT AG(memory_exhausted)=0; + AG(allocated_memory_peak) = 0; #endif
-- Give me your money at @ <http://pecl.php.net/wishlist.php/sniper> Donating money may make me happier and friendlier for a limited period! Death to all 4 letter abbreviations starting with P!

« previous php.zend-engine.cvs (#4447) next »