Skip to content

_stream_wrap: prevent use after free in TLS

Queued write requests should be invoked on handle close, otherwise the "consumer" might be already destroyed when the write callbacks of the "consumed" handle will be invoked.

Fix: https://github.com/iojs/io.js/issues/1696

cc @EricTheOne

Merge request reports

Loading