diff options
author | Thies C. Arntzen <thies@php.net> | 2000-05-23 10:36:18 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-05-23 10:36:18 +0000 |
commit | cf1d0f1844e1deaaa9f9c73c29c09ba4dd4b67e9 (patch) | |
tree | a756d3570604091967901c956d7d117380450a6e | |
parent | 49b2166e1a822455b82cc473db02e0752b1499d7 (diff) | |
download | php-git-cf1d0f1844e1deaaa9f9c73c29c09ba4dd4b67e9.tar.gz |
fixed newly introduced crash
-rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index 52cd1dbd91..5212b6cbe0 100644 --- a/main/main.c +++ b/main/main.c @@ -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, '+'); |