[tor-bugs] #2230 [Tor Relay]: microdescs never purged from authority cache

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jan 10 17:12:05 UTC 2011


#2230: microdescs never purged from authority cache
-----------------------+----------------------------------------------------
 Reporter:  arma       |       Owner:  nickm           
     Type:  defect     |      Status:  assigned        
 Priority:  normal     |   Milestone:                  
Component:  Tor Relay  |     Version:  Tor: unspecified
 Keywords:             |      Parent:                  
-----------------------+----------------------------------------------------

Comment(by cypherpunks):

 must be "cache->journal_len = (size_t) st.st_size;" instead.

 btw, some version of tor_mmap_file() (#if not def HAVE_SYS_MMAN_H and non
 windows case, obviuosly non used in most case) missed explicit conversion
 to size_t.

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


More information about the tor-bugs mailing list