cvs: php4 /main/ main.c

From: Date: Tue, 13 Jun 2000 20:59:24 +0000
Subject: cvs: php4 /main/ main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-241@lists.php.net to get a copy of this message
andrei Tue Jun 13 13:59:24 2000 EDT Modified files: /php4/main main.c Log: Plus a leak when both register_globals and track_vars are off. Index: php4/main/main.c diff -u php4/main/main.c:1.268 php4/main/main.c:1.269 --- php4/main/main.c:1.268 Mon Jun 12 13:22:17 2000 +++ php4/main/main.c Tue Jun 13 13:59:23 2000 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.268 2000/06/12 20:22:17 zeev Exp $ */ +/* $Id: main.c,v 1.269 2000/06/13 20:59:23 andrei Exp $ */ #include <stdio.h> @@ -1075,6 +1075,9 @@ int count = 0; char *ss, *space; + if (!PG(register_globals) && !PG(track_vars)) + return; + ALLOC_ZVAL(arr); array_init(arr); INIT_PZVAL(arr);

« previous php.cvs (#241) next »