[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] Re: #1776 [Tor - Tor client]: Allow regular relays to be used as bridges



#1776: Allow regular relays to be used as bridges
------------------------------+---------------------------------------------
 Reporter:  Sebastian         |       Owner:              
     Type:  defect            |      Status:  needs_review
 Priority:  normal            |   Milestone:              
Component:  Tor - Tor client  |     Version:              
 Keywords:                    |      Parent:              
------------------------------+---------------------------------------------

Comment(by arma):

 -  if (sdmap_get(routerlist->desc_digest_map,
 -                router->cache_info.signed_descriptor_digest)) {
 +  if (sdmap_get(routerlist->desc_digest_map, id_digest)) {

 This part is bad news. Descriptor digests and identity digests are
 different things, and we shouldn't mix them. We shouldn't try looking up
 the id_digest in the desc_digest_map -- it'll never be there.

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