[tor-bugs] #21134 [Core Tor/Tor]: Fail if file is too large to mmap.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jan 3 19:54:22 UTC 2017
#21134: Fail if file is too large to mmap.
------------------------------+---------------------------
Reporter: junglefowl | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version: Tor: 0.2.9.8
Severity: Normal | Keywords: tor_mmap_file
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+---------------------------
If tor_mmap_file is called with a file which is larger than SIZE_MAX,
only a small part of the file will be memory-mapped due to integer
truncation.
This can only realistically happen on 32 bit architectures with large
file support.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21134>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list