diff options
author | Stanislav Malyshev <stas@php.net> | 2017-01-15 17:32:26 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2017-01-15 17:32:26 -0800 |
commit | 43d0f2abc552781847a23fe9b2d89925c6201078 (patch) | |
tree | ba0e2de3207adcda7a45b2ccd6c282f7a72935f2 /ext/zip/php_zip.c | |
parent | 4f19bb7af61fb05f369b0bc48a962eae5ab23320 (diff) | |
parent | 0ab1af7d3eff815e1809fe044e54283b5a1b8e27 (diff) | |
download | php-git-43d0f2abc552781847a23fe9b2d89925c6201078.tar.gz |
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Update more functions with path check
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 20c4e86de0..e741226c24 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2617,7 +2617,7 @@ static ZIPARCHIVE_METHOD(extractTo) RETURN_FALSE; } - if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z", &pathto, &pathto_len, &zval_files) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|z", &pathto, &pathto_len, &zval_files) == FAILURE) { return; } |