[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-34408: Prevent a null pointer derefence and resource leakage in `pystate.c` by pablogsal · Pull Request #8767 · python/cpython

the-knights-who-say-ni

…ate.c`

…n `pystate.c`

…akage in `pystate.c`

…urce leakage in `pystate.c`

pablogsal added a commit to pablogsal/cpython that referenced this pull request

May 10, 2019
…age in `PyInterpreterState_New()` (pythonGH-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.
(cherry picked from commit 95d630e)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

pablogsal added a commit that referenced this pull request

May 10, 2019
…age in `PyInterpreterState_New()` (GH-8767) (GH-13237)

* 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.
(cherry picked from commit 95d630e)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>