mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Initialise malformed_list to 0 each time we parse a policy
This commit is contained in:
parent
e54e71fb6b
commit
cd0a5db5e9
@ -3697,6 +3697,7 @@ router_parse_addr_policy_item_from_string,(const char *s, int assume_action,
|
||||
memarea_t *area = NULL;
|
||||
|
||||
tor_assert(malformed_list);
|
||||
*malformed_list = 0;
|
||||
|
||||
s = eat_whitespace(s);
|
||||
if ((*s == '*' || TOR_ISDIGIT(*s)) && assume_action >= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user