[issue46280] About vulnerabilities in Cpython native code

Pablo Galindo Salgado report at bugs.python.org
Thu Jan 6 13:41:10 EST 2022


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> I don't see how this could be an uninitialized read, although I'm willing to be wrong.

It can be uninitialized if the parenstack[nested_depth] value is itself initialized, which can happen if the memory block pointed by parenstack has not been initialized to some value after malloc'ed and parenstack[nested_depth] never got a value.

But yeah, a lot of hypotheticals here that I am sure are not possible in the actual code.

----------

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


More information about the Python-bugs-list mailing list