Skip to content

Conversation

nielsdos
Copy link
Member

The named arguments array is never cleaned up, so a trivial memory leak.
I first had to partially fix GH-17387 though to prevent crashing...

This was detected using an experimental static analyser I'm developing.

The length of the string should be set to the truncated length (that was
used to duplicate the input anyway).
@nielsdos nielsdos closed this in 62bbfde Jan 30, 2025
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 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.

2 participants