summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-04-05 16:01:24 -0700
committerStanislav Malyshev <stas@php.net>2015-04-11 16:53:22 -0700
commit4435b9142ff9813845d5c97ab29a5d637bedb257 (patch)
treea6451ac31e1418813a46f73dfffe805421e5a55e /ext/pgsql/pgsql.c
parent9faaee66fa493372c7340b1ab05f8fd115131a42 (diff)
downloadphp-git-4435b9142ff9813845d5c97ab29a5d637bedb257.tar.gz
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index eb55777758..cd51143c90 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -3014,7 +3014,7 @@ PHP_FUNCTION(pg_trace)
php_stream *stream;
id = PGG(default_link);
- if (zend_parse_parameters(argc TSRMLS_CC, "s|sr", &z_filename, &z_filename_len, &mode, &mode_len, &pgsql_link) == FAILURE) {
+ if (zend_parse_parameters(argc TSRMLS_CC, "p|sr", &z_filename, &z_filename_len, &mode, &mode_len, &pgsql_link) == FAILURE) {
return;
}