summaryrefslogtreecommitdiff
path: root/ext/exif
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2017-01-15 17:32:26 -0800
committerStanislav Malyshev <stas@php.net>2017-01-15 17:32:26 -0800
commit43d0f2abc552781847a23fe9b2d89925c6201078 (patch)
treeba0e2de3207adcda7a45b2ccd6c282f7a72935f2 /ext/exif
parent4f19bb7af61fb05f369b0bc48a962eae5ab23320 (diff)
parent0ab1af7d3eff815e1809fe044e54283b5a1b8e27 (diff)
downloadphp-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/exif')
-rw-r--r--ext/exif/exif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index ca0190754f..5de48bd00a 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -4203,7 +4203,7 @@ PHP_FUNCTION(exif_imagetype)
php_stream * stream;
int itype = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &imagefile, &imagefile_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &imagefile, &imagefile_len) == FAILURE) {
return;
}