Re: [PHP4BETA] cvs: /php4 SAPI.c main.c

From: Date: Sun, 05 Mar 2000 22:47:32 +0000
Subject: Re: [PHP4BETA] cvs: /php4 SAPI.c main.c
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11545@lists.php.net to get a copy of this message
At 23:38 05/03/2000 , Sam Ruby wrote:
@@ -961,7 +961,7 @@
                php_import_environment_variables(ELS_C PLS_CC);
        }
-       while(*p) {
+       while(p && *p) {
                switch(*p++) {
                        case 'p':
                        case 'P':
This shouldn't be necessary; Regardless of the availability of php.ini, PG(gpc_order) is always supposed to have a value. Now, if you found out that in some circumstances it doesn't behave the way it's intended, please let me know... Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#11545) next »