[issue10916] mmap segfault

2011-01-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: It also needed fixing on Windows: committed in r88036, r88037 and r88038. -- ___ Python tracker ___ ___

[issue10916] mmap segfault

2011-01-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch. Committed in r88022 (3.2), r88023 (3.1) and r88024 (2.7). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue10916] mmap segfault

2011-01-15 Thread Ross Lagerwall
New submission from Ross Lagerwall : If a mmap length 0 is used and an offset is used as well, the size to mmap() is calculated as the size of the file instead of the size of the file minus offset. This means that trying to access a certain part does not result in an index error but a segfault