• Witold Krecicki's avatar
    Fix possible race in isc__nm_tcpconnect. · 896db0f4
    Witold Krecicki authored
    There's a possibility of race in isc__nm_tcpconnect if the asynchronous
    connect operation finishes with all the callbacks before we exit the
    isc__nm_tcpconnect itself we might access an already freed memory.
    Fix it by creating an additional reference to the socket freed at the
    end of isc__nm_tcpconnect.
tcp.c 29 KB