-
Notifications
You must be signed in to change notification settings - Fork 7.8k
SimpleXMLElement
with stream_wrapper_register
can segfault
#12929
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
Can confirm, at least for SimpleXML it's because in 8.3 I added the invalidation code which accesses |
I can't reproduce it for these two classes though, not on my local machine and not in 3v4l... Anyway PR is up to fix SimpleXML. |
3v4l repro: https://3v4l.org/pDpKO |
But that doesn't segfault/crash right? https://3v4l.org/shafO I added a var_dump at the end and it prints, I don't see a code 139. |
I can confirm this is present for the XML classes only, at least today :) |
Description
repro: https://3v4l.org/sR5ZB
inspired by #12926 and https://github.com/php/php-src/pull/12546/files
SimpleXMLIterator
,have the same issueSodiumException
,IntlChar
because of https://github.com/php/php-src/blob/php-8.3.0/run-tests.php#L2077 the
run-tests.php
test should be improved to allow to specify something like*
inEXTENSIONS
section, as currently the https://github.com/php/php-src/pull/12546/files is not really tested with all extPHP Version
8.1.0 - 8.1.7, 8.3.0
Operating System
any
The text was updated successfully, but these errors were encountered: