-
Notifications
You must be signed in to change notification settings - Fork 7.8k
pg_lo_open segfaults in the strict_types mode #10672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
The issue is that we use the wrong ZPP format on line 2340 else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(),
"Ols", &pgsql_link, pgsql_link_ce, &oid_long, &mode) == SUCCESS) { as Surprised this is only getting caught now... |
NathanFreeman
added a commit
to NathanFreeman/php-src
that referenced
this issue
Feb 23, 2023
Girgias
added a commit
to Girgias/php-src
that referenced
this issue
Feb 23, 2023
We need to use the proper ZPP qualifier for zend_string
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The following code:
Resulted in this output:
But I expected this output instead:
Commenting out the
declare(strict_types=1);
line addresses the issue.PHP Version
8.1.16
Operating System
All
The text was updated successfully, but these errors were encountered: