mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-01 09:00:51 +00:00
BUG/MEDIUM: quic: Possible crash from quic_free_arngs()
All quic_arng_node objects are allocated from "pool_head_quic_arng" memory pool. They must be deallocated calling pool_free().
This commit is contained in:
parent
9cc88c3075
commit
82851bd3cb
@ -3165,7 +3165,7 @@ void quic_free_arngs(struct quic_arngs *arngs)
|
|||||||
ar = eb64_entry(&n->node, struct quic_arng_node, first);
|
ar = eb64_entry(&n->node, struct quic_arng_node, first);
|
||||||
next = eb64_next(n);
|
next = eb64_next(n);
|
||||||
eb64_delete(n);
|
eb64_delete(n);
|
||||||
free(ar);
|
pool_free(pool_head_quic_arng, ar);
|
||||||
n = next;
|
n = next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user