diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-09-05 18:52:21 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-09-06 11:54:37 +0300 |
commit | 0c30d0e4e02e5b2b125a4eccb29ae8f48b457b8a (patch) | |
tree | 8d9f82fc88a1619945cc72c344ee782be38d577a /tools/update-babel-eslint.sh | |
parent | 2bf4697ff4be6a510410be1f1e67549be347614b (diff) |
zlib: fix memory leak for invalid input
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: https://github.com/nodejs/node/issues/22705
PR-URL: https://github.com/nodejs/node/pull/22713
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/update-babel-eslint.sh')
0 files changed, 0 insertions, 0 deletions