mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
SF bug # 585792, Invalid mmap crashes Python interpreter
Raise ValueError if user passes a size to mmap which is larger than the file.
This commit is contained in:
parent
7165af23e6
commit
b567392bbf
4 changed files with 30 additions and 1 deletions
|
@ -24,6 +24,7 @@ test_mmap
|
|||
Ensuring that readonly mmap can't be write() to.
|
||||
Ensuring that readonly mmap can't be write_byte() to.
|
||||
Ensuring that readonly mmap can't be resized.
|
||||
Opening mmap with size too big
|
||||
Opening mmap with access=ACCESS_WRITE
|
||||
Modifying write-through memory map.
|
||||
Opening mmap with access=ACCESS_COPY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue