commit | 85f461550057e2a797cf7015c31f1a6d63553493 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Jan 15 16:17:07 2011 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Jan 15 16:17:07 2011 +0000 |
tree | b22a2158061dcbcb396d39f2ea4abb7f0633835a | |
parent | f5cf435bb52c8ba5ab6813bde70696fa3de98efa [diff] |
Issue #10916: mmap should not segfault when a file is mapped using 0 as length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. Requested by Georg.