-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Heap UAF at ZEND_ASSIGN_OBJ_SPEC_CV_CONST_OP_DATA_VAR_HANDLER #10169
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
Comments
What PHP configuration did you use to trigger this bug? |
Hi, thanks for the investigation. My config is:
|
Thanks for the additional info. |
Sorry for the confusion. With I checked the above poc and found that it didn't crash the <?
class d
{
public string $b;
}
class c
{
function __toString()
{
global $a;
$a = new d;
$a->dd = "";
return "";
}
}
$a = new d;
$a->b = new c; This will trigger an invalid pointer deref in |
I can reproduce it as well now. Thanks. |
Description
The following code:
Resulted in this output:
Git commit: ff42cb0
PHP Version
PHP 8.3.0-dev
Operating System
No response
The text was updated successfully, but these errors were encountered: