mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
373d9aff7a
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.
6 lines
285 B
Plaintext
6 lines
285 B
Plaintext
o Minor bugfixes (portability):
|
|
- Do not silently truncate content of files if they are larger
|
|
than SIZE_MAX bytes. This issue could occur on 32 bit systems
|
|
with large file support and files which are larger than 4 GB.
|
|
Fixes bug 21134; bugfix on 0.3.0.1-alpha.
|