summaryrefslogtreecommitdiff
path: root/ext/exif
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/exif
parentad9c552b120b8f73a5e87b2f8af05e32db512e9f (diff)
downloadphp-git-0ab1af7d3eff815e1809fe044e54283b5a1b8e27.tar.gz
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 3663b3f226..1c8772f76b 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -4210,7 +4210,7 @@ PHP_FUNCTION(exif_imagetype)
php_stream * stream;
int itype = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &imagefile, &imagefile_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &imagefile, &imagefile_len) == FAILURE) {
return;
}