diff options
author | junglefowl <junglefowl@riseup.net> | 2017-01-23 19:08:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-01-25 13:21:44 -0500 |
commit | 373d9aff7af41c07bb51093df4ceb51a13404a44 (patch) | |
tree | a1b6786bf56410c69202c6e1de8cadad11070faa /src/or/or.h | |
parent | 1130fd87edb38570dbad9c1a04adfe0947490b2d (diff) | |
download | tor-373d9aff7af41c07bb51093df4ceb51a13404a44.tar.gz tor-373d9aff7af41c07bb51093df4ceb51a13404a44.zip |
Fail if file is too large to mmap.
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.
Diffstat (limited to 'src/or/or.h')
0 files changed, 0 insertions, 0 deletions