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

Re: [tor-bugs] #4481 [Tor Relay]: Couldn't send netinfo cell



#4481: Couldn't send netinfo cell
-----------------------+----------------------------------------------------
 Reporter:  stars      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |        Version:  Tor: unspecified  
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
Changes (by Sebastian):

  * priority:  normal => major
  * version:  Tor: 0.2.3.7-alpha => Tor: unspecified
  * milestone:  => Tor: 0.2.2.x-final


Comment:

 Hrm. This was caused by the #4349 fix, which is also in maint-0.2.2 now.
 Ugh.

 {{{
    /* Their address. */
    out = cell.payload + 4;
 -  len = append_address_to_payload(out, &conn->_base.addr);
 +  len = append_address_to_payload(out, &conn->real_addr);
    if (len<0)
      return -1;
    out += len;
 }}}

 What happens is that &conn->real_addr is NULL, so
 append_address_to_payload() returns -1.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4481#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs