From: Thies C. Arntzen Date: Tue, 23 May 2000 10:36:18 +0000 (+0000) Subject: fixed newly introduced crash X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf1d0f1844e1deaaa9f9c73c29c09ba4dd4b67e9;p=php fixed newly introduced crash --- 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, '+');