Closed simpx closed 6 years ago
simpx,
Apologies for the delayed response. I am surprised that no one caught this issue earlier. You are right. This needs a return
statement right after DestroyTCPStream(...)
. I will add this fix in my next check in.
https://github.com/eunyoung14/mtcp/blob/master/mtcp/src/tcp_in.c#L761
if
cur_stream->socket
is NULL, this code will callAddtoControlList
afterDestroyTCPStream