mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fixed bug GH-10270 Unable to return CURL_READFUNC_PAUSE in readfunc callback Fix GH-10672 (pg_lo_open segfaults in the strict_types mode)
This commit is contained in:
commit
512abc23a4
6 changed files with 97 additions and 1 deletions
|
@ -2364,7 +2364,7 @@ PHP_FUNCTION(pg_lo_open)
|
|||
CHECK_PGSQL_LINK(link);
|
||||
}
|
||||
else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(),
|
||||
"Ols", &pgsql_link, pgsql_link_ce, &oid_long, &mode) == SUCCESS) {
|
||||
"OlS", &pgsql_link, pgsql_link_ce, &oid_long, &mode) == SUCCESS) {
|
||||
if (oid_long <= (zend_long)InvalidOid) {
|
||||
zend_value_error("Invalid OID value passed");
|
||||
RETURN_THROWS();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue