Paranoid integer overflow check in my_mmap