mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.2'
* PHP-8.2: Fix ZPP of pg_lo_export()
This commit is contained in:
@@ -2633,7 +2633,7 @@ PHP_FUNCTION(pg_lo_export)
|
||||
|
||||
/* allow string to handle large OID value correctly */
|
||||
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(),
|
||||
"rlP", &pgsql_link, pgsql_link_ce, &oid_long, &file_out) == SUCCESS) {
|
||||
"OlP", &pgsql_link, pgsql_link_ce, &oid_long, &file_out) == SUCCESS) {
|
||||
if (oid_long <= (zend_long)InvalidOid) {
|
||||
zend_value_error("Invalid OID value passed");
|
||||
RETURN_THROWS();
|
||||
|
||||
Reference in New Issue
Block a user