[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

Serhiy Storchaka report at bugs.python.org
Tue Jun 27 11:05:17 EDT 2017


Serhiy Storchaka added the comment:

Just read the code. Find the function parse_envlist() in posixmodule.c and find similar code checking for '='.

Even if the leak is not detected by the test (but it is detected on Linux, maybe you use Windows?) it exists.

os.spawnve() also should be affected by this bug and fixed by the same patch, because it uses the same code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30769>
_______________________________________


More information about the Python-bugs-list mailing list