summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-11-30 22:10:15 (GMT)
committerGuido van Rossum <guido@python.org>2003-11-30 22:10:15 (GMT)
commitfd25acacaf77e3f22e4dd5e85699fae73cc29a7a (patch)
treec186e449934b47543246b87e4fade2bda3e2dcd2 /Misc
parenta6a38ad55c4ce3ca2299068e880ad3ff4b4f6b51 (diff)
downloadcpython-fd25acacaf77e3f22e4dd5e85699fae73cc29a7a.zip
cpython-fd25acacaf77e3f22e4dd5e85699fae73cc29a7a.tar.gz
cpython-fd25acacaf77e3f22e4dd5e85699fae73cc29a7a.tar.bz2
Add news item for _winreg fix (SF bug 851056).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c905365..ce9d779 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -270,6 +270,11 @@ Tests
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.
+
- file.truncate() could misbehave if the file was open for update
(modes r+, rb+, w+, wb+), and the most recent file operation before
the truncate() call was an input operation. SF bug 801631.