summaryrefslogtreecommitdiff
path: root/ext/exif
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2017-01-15 17:32:37 -0800
committerStanislav Malyshev <stas@php.net>2017-01-15 17:32:37 -0800
commit19e80ef4963d7371ee25b85f8224ee912efe418e (patch)
tree964b0a5af6e0932571e44739cc41920829abba39 /ext/exif
parentbd0569e287b633a3284479b55ff74501529039ab (diff)
parent43d0f2abc552781847a23fe9b2d89925c6201078 (diff)
downloadphp-git-19e80ef4963d7371ee25b85f8224ee912efe418e.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: 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 06e2aae39c..4525fb3553 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -4204,7 +4204,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;
}