[tor-bugs] #2320 [Tor Client]: var_cell_t with payload_len 0 risky

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Jan 6 21:29:44 UTC 2011


#2320: var_cell_t with payload_len 0 risky
------------------------+---------------------------------------------------
 Reporter:  arma        |       Owner:                    
     Type:  defect      |      Status:  needs_review      
 Priority:  normal      |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |     Version:                    
 Keywords:              |      Parent:                    
------------------------+---------------------------------------------------
Changes (by nickm):

  * status:  new => needs_review


Comment:

 autoconf has an AC_C_FLEXIBLE_ARRAY_MEMBER macro that might do a decent
 job of indicating which structures may be longer than they seem; here's a
 patch to try to use it as recommended.  See branch bug2320 in my public
 repo.

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


More information about the tor-bugs mailing list