Comment 33 for bug 206921

Revision history for this message
godlygeek (godlygeek+launchpad) wrote :

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.