mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Have circuit_get_global_origin_circuit_list() return the right list. Bug 21118
This commit is contained in:
parent
ef0559c3e3
commit
7844c5ddd7
6
changes/bug21118
Normal file
6
changes/bug21118
Normal file
@ -0,0 +1,6 @@
|
||||
o Major bugfixes (client, guard, crash):
|
||||
- In circuit_get_global_origin_list(), return the actual list of
|
||||
origin circuits. The previous version of this code returned
|
||||
the list of all the circuits, and could have caused strange bugs,
|
||||
including possible crashes. Fixes bug 21118; bugfix on 0.3.0.1-alpha.
|
||||
|
@ -591,7 +591,7 @@ circuit_get_global_origin_circuit_list(void)
|
||||
{
|
||||
if (NULL == global_origin_circuit_list)
|
||||
global_origin_circuit_list = smartlist_new();
|
||||
return global_circuitlist;
|
||||
return global_origin_circuit_list;
|
||||
}
|
||||
|
||||
/** Function to make circ-\>state human-readable */
|
||||
|
Loading…
Reference in New Issue
Block a user