summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-09-05 21:48:07 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-09-05 21:48:07 (GMT)
commitb567392bbf3c595a47b86ea4d6038af0ec28b383 (patch)
treed339de20d02348c0dbe03e0d40869997ddc505c0 /Misc
parent7165af23e67d81607ee6dd3191a79001e7a8a4e0 (diff)
downloadcpython-b567392bbf3c595a47b86ea4d6038af0ec28b383.zip
cpython-b567392bbf3c595a47b86ea4d6038af0ec28b383.tar.gz
cpython-b567392bbf3c595a47b86ea4d6038af0ec28b383.tar.bz2
SF bug # 585792, Invalid mmap crashes Python interpreter
Raise ValueError if user passes a size to mmap which is larger than the file.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f638e50..b877703 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -274,6 +274,9 @@ Core and builtins
Extension modules
+- If the size passed to mmap.mmap() is larger than the length of the
+ file on non-Windows platforms, a ValueError is raised. [SF bug 585792]
+
- The xreadlines module is slated for obsolescence.
- The strptime function in the time module is now always available (a