[issue44285] Coverity scan: Modules/getpath.c. "calculate_open_pyenv" allocates memory that is stored into "env_file".

Petr Viktorin report at bugs.python.org
Wed Jun 2 09:49:10 EDT 2021


Petr Viktorin <encukou at gmail.com> added the comment:

+1, for adding the assertion. It's not trivial to see that env_file must be NULL here, even for me (a human).

----------
nosy: +petr.viktorin

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


More information about the Python-bugs-list mailing list