diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-07-03 15:58:06 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-07-03 15:58:06 (GMT) |
commit | ad4690fcca5704277abece184d49b39a913029d4 (patch) | |
tree | 20fc0b168375bc7b17bc7b34f1b053cac40b908a /Misc | |
parent | 0d50af45b654784fe639ab6489f91e7524ed3ace (diff) | |
download | cpython-ad4690fcca5704277abece184d49b39a913029d4.zip cpython-ad4690fcca5704277abece184d49b39a913029d4.tar.gz cpython-ad4690fcca5704277abece184d49b39a913029d4.tar.bz2 |
Issue #21151: Fixed a segfault in the winreg module.
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -27,6 +27,9 @@ Core and Builtins Library ------- +- Issue #21151: Fixed a segfault in the winreg module when ``None`` is passed + as a ``REG_BINARY`` value to SetValueEx. Patch by John Ehresman. + - Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, it ignored I/O errors if at least the first C call read() succeed. |