]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9743)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Oct 2018 23:14:42 +0000 (16:14 -0700)
committerVictor Stinner <vstinner@redhat.com>
Fri, 19 Oct 2018 23:14:42 +0000 (01:14 +0200)
commit4ec9f64e07c8f397ad6699f8b99843846c219588
treea475e470645a93761940648170642953c735cccd
parentc119d5948f941d2f528dda3f099e196bd6383000
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9743)

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

https://bugs.python.org/issue34824
(cherry picked from commit 365ad2ead5bbaf7a3b18648ffa36e819559d3f75)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
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