summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2017-01-15 17:31:08 -0800
committerStanislav Malyshev <stas@php.net>2017-01-15 17:31:08 -0800
commit0ab1af7d3eff815e1809fe044e54283b5a1b8e27 (patch)
tree1a44624574f5f7392cfd01e517e7b6cdbd675fec /ext/zip/php_zip.c
parentad9c552b120b8f73a5e87b2f8af05e32db512e9f (diff)
downloadphp-git-0ab1af7d3eff815e1809fe044e54283b5a1b8e27.tar.gz
Update more functions with path check
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 9f2b3768d3..52f058c708 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2662,7 +2662,7 @@ static ZIPARCHIVE_METHOD(extractTo)
RETURN_FALSE;
}
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &pathto, &pathto_len, &zval_files) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|z", &pathto, &pathto_len, &zval_files) == FAILURE) {
return;
}