Have circuit_get_global_origin_circuit_list() return the right list. Bug 21118

This commit is contained in:
Nick Mathewson 2017-01-12 13:18:09 -05:00
parent ef0559c3e3
commit 7844c5ddd7
2 changed files with 7 additions and 1 deletions

6
changes/bug21118 Normal file
View 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.

View File

@ -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 */