cvs: php4(PHP_4_0_7) /main SAPI.c

From: Date: Sun, 16 Dec 2001 21:41:25 +0000
Subject: cvs: php4(PHP_4_0_7) /main SAPI.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8677@lists.php.net to get a copy of this message
sesser Sun Dec 16 16:41:25 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/main SAPI.c Log: MFH : one byte heap corruption fixed Index: php4/main/SAPI.c diff -u php4/main/SAPI.c:1.113.2.3 php4/main/SAPI.c:1.113.2.4 --- php4/main/SAPI.c:1.113.2.3 Sun Dec 16 11:09:04 2001 +++ php4/main/SAPI.c Sun Dec 16 16:41:25 2001 @@ -504,7 +504,7 @@ efree(result); efree(Z_STRVAL_P(repl_temp)); efree(repl_temp); - } + } else efree(header_line); #else if(PG(safe_mode)) { myuid = php_getuid(); @@ -515,10 +515,9 @@ sapi_header.header = newheader; sapi_header.header_len = newlen; efree(result); - } + } else efree(header_line); #endif } - *colon_offset = ':'; } }

« previous php.cvs (#8677) next »