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

[tor-bugs] #9596 [Tor]: POLICY_BUF_LEN should be longer



#9596: POLICY_BUF_LEN should be longer
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  normal     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:                    
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 Now that we can have, and need to write, IPv6 policy items, we need to
 increase the length of POLICY_BUF_LEN, since the longest possible exit
 policy item is now
 "accept6 [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]/128:65535-65535\n".

 Fortunately, we use POLICY_BUF_LEN in only a few places, none of which
 make this super harmful, but it could prevent us from formatting some log
 messages correctly.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9596>
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