fbserver: Check mmap length before copying.