-
Notifications
You must be signed in to change notification settings - Fork 29.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
zlib: fix memory leak for invalid input #22713
Conversation
Don’t toggle the weak/strong reference flag from the error handler, that’s too confusing. Instead, always do it in the code that handles the write call. Fixes: nodejs#22705
Why did Travis fail but the other checks show as passing? Is the test flaky or are the checks not reporting the correct status? |
@mscdex Flakyness, yes – should be fixed now. :) CI: https://ci.nodejs.org/job/node-test-pull-request/17037/ I’d like to fast-track this, since it’s not a complex fix and it would be good to have this in 10.10.0 (fyi @targos). Please 👍 if you agree. |
New CI: https://ci.nodejs.org/job/node-test-pull-request/17040/ (:heavy_check_mark:) |
Landed in 0c30d0e |
Don’t toggle the weak/strong reference flag from the error handler, that’s too confusing. Instead, always do it in the code that handles the write call. Fixes: #22705 PR-URL: #22713 Reviewed-By: James M Snell <[email protected]>
Don’t toggle the weak/strong reference flag from the error handler, that’s too confusing. Instead, always do it in the code that handles the write call. Fixes: #22705 PR-URL: #22713 Reviewed-By: James M Snell <[email protected]>
Don’t toggle the weak/strong reference flag from the error
handler, that’s too confusing. Instead, always do it in the
code that handles the write call.
Fixes: #22705
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes