]> granicus.if.org Git - php/commitdiff
fixed newly introduced crash
authorThies C. Arntzen <thies@php.net>
Tue, 23 May 2000 10:36:18 +0000 (10:36 +0000)
committerThies C. Arntzen <thies@php.net>
Tue, 23 May 2000 10:36:18 +0000 (10:36 +0000)
main/main.c

index 52cd1dbd913a62a6ff903a51db1ce1ba39fc787e..5212b6cbe09c84362e10731e2a47b74d56ad7a47 100644 (file)
@@ -1089,7 +1089,7 @@ static void php_build_argv(char *s, zval *track_vars_array ELS_DC PLS_DC)
        INIT_PZVAL(arr);
 
        /* Prepare argv */
-       if(*s) {
+       if (s && *s) {
                ss = s;
                while (ss) {
                        space = strchr(ss, '+');