summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-15 11:42:55 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-04-15 11:42:55 +0200
commitdc42e403a2c370f8de8ecb9a67e819c5aea89951 (patch)
treef0343ca56c5e57b157adab081e69deabf4f31fe5 /sapi
parenta3dc083c81556194cd6fb78df9386cf7c33b549a (diff)
parent433d68fce1a3c7f4855a8fdcdb911a1e7b46ee27 (diff)
downloadphp-git-dc42e403a2c370f8de8ecb9a67e819c5aea89951.tar.gz
Merge branch 'PHP-7.4'
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cli/php_cli_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index 46ba86e9c2..6889278bca 100644
--- a/sapi/cli/php_cli_server.c
+++ b/sapi/cli/php_cli_server.c
@@ -1448,6 +1448,7 @@ static void normalize_vpath(char **retval, size_t *retval_len, const char *vpath
char *p;
*retval = NULL;
+ *retval_len = 0;
decoded_vpath = pestrndup(vpath, vpath_len, persistent);
if (!decoded_vpath) {