mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.2'
* PHP-8.2: 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
51b70e4414
5 changed files with 92 additions and 1 deletions
|
@ -2338,7 +2338,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