Skip to content
  • junglefowl's avatar
    Fail if file is too large to mmap. · 373d9aff
    junglefowl authored and Nick Mathewson's avatar Nick Mathewson committed
    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.
    373d9aff