[Python-checkins] python/dist/src/Misc NEWS,1.902,1.903

gvanrossum at users.sourceforge.net gvanrossum at users.sourceforge.net
Sun Nov 30 17:10:24 EST 2003


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv12494

Modified Files:
	NEWS 
Log Message:
Add news item for _winreg fix (SF bug 851056).


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.902
retrieving revision 1.903
diff -C2 -d -r1.902 -r1.903
*** NEWS	29 Nov 2003 23:52:11 -0000	1.902
--- NEWS	30 Nov 2003 22:10:15 -0000	1.903
***************
*** 271,274 ****
--- 271,279 ----
  -------
  
+ - The _winreg module could segfault when reading very large registry
+   values, due to unchecked alloca() calls (SF bug 851056).  The fix is
+   uses either PyMem_Malloc(n) or PyString_FromStringAndSize(NULL, n),
+   as appropriate, followed by a size check.
+ 
  - file.truncate() could misbehave if the file was open for update
    (modes r+, rb+, w+, wb+), and the most recent file operation before





More information about the Python-checkins mailing list