diff options
author | Roger Dingledine <arma@torproject.org> | 2006-11-20 16:36:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-11-20 16:36:44 +0000 |
commit | 69ae0a29868c04941d50f67c4f28f0a7d8571d50 (patch) | |
tree | 8c19d4221f4cb197b4e24cad85b340ab81ebd10e | |
parent | 858e939556b24741e1b303cceed5d733d70855ba (diff) | |
download | tor-69ae0a29868c04941d50f67c4f28f0a7d8571d50.tar.gz tor-69ae0a29868c04941d50f67c4f28f0a7d8571d50.zip |
we were leaking all the fingerprints for !reject, !invalid,
and !badexit lines in the approved-routers file.
svn:r8974
-rw-r--r-- | src/or/dirserv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 6c19faf0ef..a99420443e 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -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")) { |