mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-21 17:07:04 +00:00
Avoid leak in TCP segment reassembly code
This commit is contained in:
parent
64effa3bb9
commit
9d3974b85f
1 changed files with 2 additions and 1 deletions
|
@ -365,7 +365,8 @@ static int process_data_segment(conn,handler,p,stream,direction)
|
|||
else
|
||||
conn->state=TCP_STATE_CLOSED;
|
||||
}
|
||||
|
||||
|
||||
free_tcp_segment_queue(stream->oo_queue);
|
||||
stream->oo_queue=seg->next;
|
||||
seg->next=0;
|
||||
stream->seq=seg->s_seq + seg->len;
|
||||
|
|
Loading…
Reference in a new issue