-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
iconv memory leak #17399
Comments
well there is an ZendMM out of memory triggered with the line length, so the iconv flows do not get freed, that is expected. Either we put len checks but then it defeats the usefulness of safe emalloc here or leave it as is. cc @nielsdos thoughts ? |
Line 965 in cee64ed
We could move up that allocation prior to the first |
Yes I was starting to think it too but you did it way faster than me, feel free to open a PR :) |
Fine by me. |
Hmm, given that this has been found by fuzzing, maybe we should add |
That might hide real leaks too. I think it's more important to keep reporting such leaks than risking false negatives. |
Description
The following code:
Resulted in this output:
PHP Version
nightly
Operating System
No response
The text was updated successfully, but these errors were encountered: