[tor-bugs] #2750 [Tor Hidden Services]: Trivially incorrect warning in rend_parse_v2_service_descriptor

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Mar 14 19:52:18 UTC 2011


#2750: Trivially incorrect warning in rend_parse_v2_service_descriptor
---------------------------------+------------------------------------------
 Reporter:  special              |          Owner:  rransom           
     Type:  defect               |         Status:  assigned          
 Priority:  trivial              |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Hidden Services  |        Version:                    
 Keywords:                       |         Parent:                    
   Points:                       |   Actualpoints:                    
---------------------------------+------------------------------------------

Comment(by nickm):

 The right length check is I believe supposed to be for a single
 descriptor, which would indeed make it "if (eos-desc >
 REND_DESC_MAX_SIZE)" rather than "if (strlen(desc) > REND_DESC_MAX_SIZE)".

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


More information about the tor-bugs mailing list