mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
we were leaking all the fingerprints for !reject, !invalid,
and !badexit lines in the approved-routers file. svn:r8974
This commit is contained in:
parent
858e939556
commit
69ae0a2986
@ -124,6 +124,7 @@ add_fingerprint_to_dir(const char *nickname, const char *fp,
|
||||
status->status |= FP_NAMED;
|
||||
strlcpy(status->nickname, nickname, sizeof(status->nickname));
|
||||
} else {
|
||||
tor_free(fingerprint);
|
||||
if (!strcasecmp(nickname, "!reject")) {
|
||||
status->status |= FP_REJECT;
|
||||
} else if (!strcasecmp(nickname, "!invalid")) {
|
||||
|
Loading…
Reference in New Issue
Block a user