Add news item for _winreg fix (SF bug 851056).

This commit is contained in:
Guido van Rossum 2003-11-30 22:10:15 +00:00
parent a6a38ad55c
commit fd25acacaf
1 changed files with 5 additions and 0 deletions

View File

@ -270,6 +270,11 @@ Tests
Windows 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 - file.truncate() could misbehave if the file was open for update
(modes r+, rb+, w+, wb+), and the most recent file operation before (modes r+, rb+, w+, wb+), and the most recent file operation before
the truncate() call was an input operation. SF bug 801631. the truncate() call was an input operation. SF bug 801631.