[tor-bugs] #17751 [Tor]: Use router_get_my_routerinfo() rather than desc_routerinfo

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 8 10:44:16 UTC 2016


#17751: Use router_get_my_routerinfo() rather than desc_routerinfo
--------------------+------------------------------------
 Reporter:  teor    |          Owner:  hkannan
     Type:  defect  |         Status:  needs_review
 Priority:  Medium  |      Milestone:  Tor: 0.2.9.x-final
Component:  Tor     |        Version:
 Severity:  Minor   |     Resolution:
 Keywords:  easy    |  Actual Points:
Parent ID:          |         Points:  small
  Sponsor:          |
--------------------+------------------------------------

Comment (by cypherpunks):

 I would store the result of calls to `router_get_my_routerinfo()` in a
 variable first (and check for NULL ofcourse) instead of using the result
 directly.

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


More information about the tor-bugs mailing list