]> granicus.if.org Git - python/commit
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606)
authorZackery Spytz <zspytz@gmail.com>
Sat, 6 Oct 2018 17:41:45 +0000 (11:41 -0600)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Oct 2018 17:41:45 +0000 (10:41 -0700)
commit365ad2ead5bbaf7a3b18648ffa36e819559d3f75
tree15cbfdb982f285c10fcbb989f73365cc3bbc7782
parent683281f536981da395575b5a07d6761118259fd2
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606)

On failure, _PyBytes_Resize() will deallocate the bytes object and set
"result" to NULL.

https://bugs.python.org/issue34824
Misc/NEWS.d/next/Core and Builtins/2018-09-27-11-10-02.bpo-34824.VLlCaU.rst [new file with mode: 0644]
Modules/_ssl.c