[New-bugs-announce] [issue34408] possible null pointer dereference in pystate.c

Pablo Galindo Salgado report at bugs.python.org
Tue Aug 14 16:09:38 EDT 2018


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

The problem occurs here:

https://github.com/python/cpython/blob/master/Python/pystate.c#L185

If _PyRuntime.interpreters.next_id < 0 then interp is set to NULL and it will be dereferenced later:

interp

----------
components: Interpreter Core
messages: 323538
nosy: pablogsal
priority: normal
severity: normal
status: open
title: possible null pointer dereference in pystate.c
type: crash
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34408>
_______________________________________


More information about the New-bugs-announce mailing list