mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Allow two ISO times to appear in EntryGuardDownSince.
When I made time parsing more strict, I broke the
EntryGuardDownSince line, which relied on two concatenated ISO times
being parsed as a single time.
Fixes bug 14136. Bugfix on 7984fc1531
. Bug not in any released
version of Tor.
This commit is contained in:
parent
6f171003ce
commit
33df3e37ff
1 changed files with 1 additions and 1 deletions
|
@ -1319,7 +1319,7 @@ entry_guards_parse_state(or_state_t *state, int set, char **msg)
|
|||
"EntryGuardDownSince/UnlistedSince without EntryGuard");
|
||||
break;
|
||||
}
|
||||
if (parse_iso_time(line->value, &when)<0) {
|
||||
if (parse_iso_time_(line->value, &when, 0)<0) {
|
||||
*msg = tor_strdup("Unable to parse entry nodes: "
|
||||
"Bad time in EntryGuardDownSince/UnlistedSince");
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue