[tor-bugs] #24012 [Metrics/Onionoo]: Fix NullPointerExceptions from accessing descriptor parts that may be null

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 26 08:27:57 UTC 2017


#24012: Fix NullPointerExceptions from accessing descriptor parts that may be null
---------------------------------+--------------------------
     Reporter:  karsten          |      Owner:  metrics-team
         Type:  defect           |     Status:  new
     Priority:  High             |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 There's a relay running an alternate Tor version that produces descriptors
 without "uptime" line, and the directory authorities don't include a "v"
 line for that relay, likely because its platform string does not include
 the magic word "Tor". Maybe there are similar issues.

 I'm working on a hotfix that I'll post here shortly and that needs review
 and more testing.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24012>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list