Mailing List Archive

python/dist/src/Misc NEWS,1.337.2.4.2.33,1.337.2.4.2.34
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv12162/Misc

Modified Files:
Tag: release22-maint
NEWS
Log Message:
Backport of SF bug # 585792, Invalid mmap crashes Python interpreter

Raise ValueError if user passes a size to mmap which is larger
than the file.

Also need Tim's fix in test_mmap.py, 1.22 which flushes the file
before mmap'ing it.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.33
retrieving revision 1.337.2.4.2.34
diff -C2 -d -r1.337.2.4.2.33 -r1.337.2.4.2.34
*** NEWS 19 Aug 2002 00:43:06 -0000 1.337.2.4.2.33
--- NEWS 5 Sep 2002 22:30:03 -0000 1.337.2.4.2.34
***************
*** 46,49 ****
--- 46,54 ----
longs will always be printed with a trailing "L".

+ 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]
+
Library