]> granicus.if.org Git - python/commit
Issue #21151: Fixed a segfault in the _winreg module.
authorZachary Ware <zachary.ware@gmail.com>
Thu, 3 Jul 2014 15:57:44 +0000 (10:57 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Thu, 3 Jul 2014 15:57:44 +0000 (10:57 -0500)
commit6690eed48b3ad97d4383ce612ff4e4c318a80c45
tree797f984f6850165d4645bdb2c402944150ab0d6e
parent809b665b57edccde6418fb9e4a0135a1e629e79a
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)
Lib/test/test_winreg.py
Misc/NEWS
PC/_winreg.c