[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r8819: Oops on last authority patch: handle routers with unrecogniz (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r8819: Oops on last authority patch: handle routers with unrecogniz (in tor/trunk: . src/or)
- From: nickm@xxxxxxxx
- Date: Tue, 24 Oct 2006 16:51:31 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 24 Oct 2006 16:51:42 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2006-10-24 16:51:28 -0400 (Tue, 24 Oct 2006)
New Revision: 8819
Modified:
tor/trunk/
tor/trunk/src/or/dirserv.c
Log:
r9158@totoro: nickm | 2006-10-24 16:50:18 -0400
Oops on last authority patch: handle routers with unrecognized fingerprints correctly
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r9158] on 96637b51-b116-0410-a10e-9941ebb49b64
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2006-10-24 20:28:05 UTC (rev 8818)
+++ tor/trunk/src/or/dirserv.c 2006-10-24 20:51:28 UTC (rev 8819)
@@ -348,7 +348,8 @@
}
status_by_digest = digestmap_get(fingerprint_list->status_by_digest,
id_digest);
- result |= (status_by_digest->status & ~FP_NAMED);
+ if (status_by_digest)
+ result |= (status_by_digest->status & ~FP_NAMED);
if (result & FP_REJECT) {
if (msg)