Commit 4f0bad28 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

make servers not crash when they rep-hist-note circuits that don't start at them

parent e5cf3962
......@@ -833,6 +833,14 @@ circuit_rep_hist_note_result(circuit_t *circ)
char *prev_nickname = NULL;
routerinfo_t *router;
hop = circ->cpath;
if(!hop) {
/* XXX
* if !hop, then we're not the beginning of this circuit.
* for now, just forget about it. later, we should remember when
* extends-through-us failed, too.
if (options.ORPort) {
prev_nickname = options.Nickname;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment