[tor-bugs] #21134 [Core Tor/Tor]: Fail if file is too large to mmap.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 18 14:38:23 UTC 2017


#21134: Fail if file is too large to mmap.
--------------------------------------------+------------------------------
 Reporter:  junglefowl                      |          Owner:
     Type:  defect                          |         Status:  needs_review
 Priority:  Medium                          |      Milestone:  Tor:
                                            |  0.3.0.x-final
Component:  Core Tor/Tor                    |        Version:  Tor: 0.2.9.8
 Severity:  Normal                          |     Resolution:
 Keywords:  tor_mmap_file, review-group-15  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:  nickm                           |        Sponsor:
--------------------------------------------+------------------------------

Comment (by nickm):

 Oh, one more: off_t is a signed type, and size_t isn't, so the comparison
 of the two can be trouble.

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


More information about the tor-bugs mailing list