[issue36308] Fix warning in _PyPathConfig_ComputeArgv0

Stéphane Wirtel report at bugs.python.org
Fri Mar 15 16:31:19 EDT 2019


Stéphane Wirtel <stephane at wirtel.be> added the comment:

@vstinner

I just initialized argv0 to NULL but the wcsrchr could generate a SIGSEGV.

What do you suggest for the initial value of argv0? try to detect the sys.executable and use it for argv0?

----------
stage: patch review -> 

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


More information about the Python-bugs-list mailing list