Skip to content

Fix GH-18640: heap-use-after-free ext/soap/php_encoding.c:299:32 in soap_check_zval_ref #19181

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

Closed
wants to merge 3 commits into from

Conversation

nielsdos
Copy link
Member

For attributes, relying on the ref_map doesn't make sense the first place as you can't really refer to attributes from attributes. The code therefore assumes that the node is unique, which is broken.

…n soap_check_zval_ref

For attributes, relying on the ref_map doesn't make sense the first
place as you can't really refer to attributes from attributes.
The code therefore assumes that the node is unique, which is broken.
Co-authored-by: Gina Peter Banyard <girgias@php.net>
@nielsdos nielsdos closed this in 6cc4ae1 Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

heap-use-after-free ext/soap/php_encoding.c:299:32 in soap_check_zval_ref
2 participants