diff options
author | Guido van Rossum <guido@python.org> | 2003-11-30 22:10:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-11-30 22:10:15 (GMT) |
commit | fd25acacaf77e3f22e4dd5e85699fae73cc29a7a (patch) | |
tree | c186e449934b47543246b87e4fade2bda3e2dcd2 | |
parent | a6a38ad55c4ce3ca2299068e880ad3ff4b4f6b51 (diff) | |
download | cpython-fd25acacaf77e3f22e4dd5e85699fae73cc29a7a.zip cpython-fd25acacaf77e3f22e4dd5e85699fae73cc29a7a.tar.gz cpython-fd25acacaf77e3f22e4dd5e85699fae73cc29a7a.tar.bz2 |
Add news item for _winreg fix (SF bug 851056).
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |