diff options
author | Stanislav Malyshev <stas@php.net> | 2015-04-14 00:26:15 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-04-14 00:26:53 -0700 |
commit | d3aeb8a204e1c8c41f455dbde1a7d2ea1cab26af (patch) | |
tree | f72f39ad650554bc205816ee0658800a1d6baa3d /ext/pgsql/pgsql.c | |
parent | ae46d1ce19b789654e90bfcf91b11edc7de122a1 (diff) | |
parent | d734e75599593fe552eebf9bf579d73addc75a1e (diff) | |
download | php-git-d3aeb8a204e1c8c41f455dbde1a7d2ea1cab26af.tar.gz |
Merge branch 'PHP-5.4.40' into PHP-5.4
* PHP-5.4.40:
update NEWS
Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode)
fix memory leak & add test
Fix tests
fix CVE num
Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability)
Fix test
Additional fix for bug #69324
More fixes for bug #69152
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar)
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
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; } |