]> granicus.if.org Git - python/commit
bpo-34408: Prevent a null pointer dereference and resource leakage in `PyInterpreterS...
authorPablo Galindo <Pablogsal@gmail.com>
Fri, 31 Aug 2018 21:49:29 +0000 (22:49 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Aug 2018 21:49:29 +0000 (22:49 +0100)
commit95d630e2213fb0ffc197ec440efa3ae3dbb74f8d
tree7395b86f7a1566d9d3d1844b61dcdfce573b9d6f
parent745c0f3980c56e88db6a57311fb20ea11005565b
bpo-34408: Prevent a null pointer dereference and resource leakage in `PyInterpreterState_New()` (GH-8767)

* A pointer in `PyInterpreterState_New()` could have been `NULL` when being dereferenced.

* Memory was leaked in `PyInterpreterState_New()` when taking some error-handling code path.
Misc/NEWS.d/next/Core and Builtins/2018-08-14-22-35-19.bpo-34408.aomWYW.rst [new file with mode: 0644]
Python/pystate.c