[tor-bugs] #24099 [Core Tor/Tor]: tor should remove empty/invalid consensus cache files (Unable to map file from consensus cache: Numerical result out of range)

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 20 18:05:41 UTC 2017


#24099: tor should remove empty/invalid consensus cache files (Unable to map file
from consensus cache: Numerical result out of range)
--------------------------+------------------------------------
 Reporter:  Hello71       |          Owner:  nickm
     Type:  defect        |         Status:  needs_review
 Priority:  Low           |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Minor         |     Resolution:
 Keywords:  031-backport  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  ahf           |        Sponsor:
--------------------------+------------------------------------

Comment (by Hello71):

 {{{
 /** Try to create a memory mapping for <b>filename</b> and return it.  On
  * failure, return NULL.  Sets errno properly, using ERANGE to mean
  * "empty file". */
 tor_mmap_t *
 tor_mmap_file(const char *filename)
 }}}

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


More information about the tor-bugs mailing list