]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add news item for _winreg fix (SF bug 851056).
authorGuido van Rossum <guido@python.org>
Sun, 30 Nov 2003 22:10:54 +0000 (22:10 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 30 Nov 2003 22:10:54 +0000 (22:10 +0000)
Misc/NEWS

index 0b02c9febb7109e569005750da7e2e595e0dc488..b205a1547f501211f66c6f53f0d6c87ceabb6fe9 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -262,6 +262,11 @@ Build
 Windows
 -------
 
+- 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.
+
 - The _ssl extension module was built using openssl-0.9.7b.
 
 - The Windows installer includes documentation in HTMLHelp format