summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2020-07-06 17:24:59 (GMT)
committerGitHub <noreply@github.com>2020-07-06 17:24:59 (GMT)
commit110dd153662a13b8ae1bb06348e5b1f118ab26d7 (patch)
tree056f5db1e1a3f11a411276c4037ed4f9952d1973 /Python
parentb98e7790c77a4378ec4b1c71b84138cb930b69b7 (diff)
downloadcpython-110dd153662a13b8ae1bb06348e5b1f118ab26d7.zip
cpython-110dd153662a13b8ae1bb06348e5b1f118ab26d7.tar.gz
cpython-110dd153662a13b8ae1bb06348e5b1f118ab26d7.tar.bz2
[3.7] bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) (#21298)
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded. * Add CVE number
Diffstat (limited to 'Python')
-rw-r--r--Python/dynload_win.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c
index 51325be..8d67d2e 100644
--- a/Python/dynload_win.c
+++ b/Python/dynload_win.c
@@ -192,9 +192,7 @@ dl_funcptr _PyImport_FindSharedFuncptrWindows(const char *prefix,
char funcname[258], *import_python;
const wchar_t *wpathname;
-#ifndef _DEBUG
_Py_CheckPython3();
-#endif
wpathname = _PyUnicode_AsUnicode(pathname);
if (wpathname == NULL)