tproxy-example
tproxy-example copied to clipboard
'free' after list insert
in tproxy_example_conn.c in function "add_tcp_connection" free_conn is called after TAILQ_INSERT_HEAD(conn_list, conn, conn_ptrs); That leads to freed ptrs being in the list => segfault. Tail insertion should be the last action