aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuituse.c
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <beth@torproject.org>2023-03-27 16:18:26 -0700
committerMicah Elizabeth Scott <beth@torproject.org>2023-05-10 07:38:29 -0700
commitac466a22195f8d550a8612bb89583c5e58eadb1a (patch)
tree47960d33a6d84f4011bc9b223f33c3310ae3e7d8 /src/core/or/circuituse.c
parentac29c7209dbdaf0d317f1c4eb67d5e330386552b (diff)
downloadtor-ac466a22195f8d550a8612bb89583c5e58eadb1a.tar.gz
tor-ac466a22195f8d550a8612bb89583c5e58eadb1a.zip
hs_pow: leak fix, free the contents of pqueue entries in hs_pow_free_service_state
Asan catches this pretty readily when ending a service gracefully while a DoS is in progress and the queue is full of items that haven't yet timed out. The module boundaries in hs_circuit are quite fuzzy here, but I'm trying to follow the vibe of the existing hs_pow code. Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Diffstat (limited to 'src/core/or/circuituse.c')
0 files changed, 0 insertions, 0 deletions