[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath
STINNER Victor
report at bugs.python.org
Mon Jun 29 05:05:57 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
_Py_CheckPython3() tries to load "python3.dll" from two directories:
* first one based on _Py_dll_path
* second one based on Py_GetPrefix()
I understand that LoadLibraryExW() must not be attempted if _Py_dll_path is empty, or if Py_GetPrefix() is empty. Am I right?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29778>
_______________________________________
More information about the Python-bugs-list
mailing list