Skip to content
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

net: fix crash if POLLHUP is received #32590

Closed
wants to merge 2 commits into from

Commits on Mar 31, 2020

  1. net: fix crash if POLLHUP is received

    If the `onread` socket option is used and a `POLLHUP` event is received,
    libuv returns `UV_EOF` along with a `NULL` buffer in the read callback,
    causing the crash. Deal with this case.
    
    Fixes: nodejs#31823
    santigimeno committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    00e04bc View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. fixup! net: fix crash if POLLHUP is received

    Co-Authored-By: Juan José <soyjuanarbol@gmail.com>
    addaleax and juanarbol committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    fed0629 View commit details
    Browse the repository at this point in the history