This patch should fix it. Problem is that we're doing bitwise arithmetic on a signed long that happens to be negative. Wackiness ensues, making the result an invalid offset for mmap(). Changing the long to unsigned fixes it.
This patch should fix it. Problem is that we're doing bitwise arithmetic on a signed long that happens to be negative. Wackiness ensues, making the result an invalid offset for mmap(). Changing the long to unsigned fixes it.