mirror of https://github.com/lukechilds/node.git
Browse Source
In very unlikely case, where `deflateInit2()` may return error (right
now happening only on exhausting all memory), the `ZCtx::Error()` will
be called and will try to `Unref()` the handle. But the problem is that
this handle was never `Ref()`ed, so it will trigger an assertion error
and crash the program.
Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/joyent/node/pull/8687
Cherry-picked-from: 8c868989be
v1.8.0-commit
Fedor Indutny
10 years ago
committed by
Bert Belder
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue