mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Also, add an assertion to assign_onionskin_to_cpuworker
This commit is contained in:
@@ -488,6 +488,8 @@ assign_onionskin_to_cpuworker(or_circuit_t *circ,
|
||||
cpuworker_request_t req;
|
||||
int should_time;
|
||||
|
||||
tor_assert(threadpool);
|
||||
|
||||
if (!circ->p_chan) {
|
||||
log_info(LD_OR,"circ->p_chan gone. Failing circ.");
|
||||
tor_free(onionskin);
|
||||
|
||||
Reference in New Issue
Block a user