[tor-bugs] #5053 [Tor]: Fix IPv6 implementation for bridge statistics

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Nov 2 23:40:00 UTC 2012


#5053: Fix IPv6 implementation for bridge statistics
-----------------------------+----------------------------------------------
 Reporter:  karsten          |          Owner:  ln5               
     Type:  enhancement      |         Status:  needs_review      
 Priority:  major            |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor              |        Version:                    
 Keywords:  ipv6 tor-bridge  |         Parent:                    
   Points:                   |   Actualpoints:                    
-----------------------------+----------------------------------------------

Comment(by andrea):

 I've reviewed this and then read nickm's review and found he had about the
 same set of observations I came up with.  The clear_geoip_db() thing and
 the alignment issue particularly stood out to me.  I'm satisfied that the
 clear_geoip_db() isn't failing to clear the database when reloading, but
 some of the code in geoip_load_file() seems a bit klunky to me still.
 That function starts off with a call to clear_geoip_db(), then does an
 init_geoip_countries() if it isn't NULL (isn't it always NULL after
 clear_geoip_db()?), then frees geoip_entries and replaces it with a new,
 empty smartlist_t.  Seems rather redundant.

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


More information about the tor-bugs mailing list