fix: correct windows python audit format (#17697)

This commit is contained in:
Ian Chua authored and GitHub committed 2026-11-21 17:25:55 +08:00
1 parent 49b84637ee
commit 84f199cb04
4 files changed
+114

No files matched your search

@@ -0,0 +1,11 @@
--- a/Modules/_winapi.c
+++ b/Modules/_winapi.c
@@ -1252,7 +1252,7 @@ _winapi_CreateProcess_impl(PyObject *module, const Py_UNICODE *application_name,
wchar_t *command_line_copy = NULL;
AttributeList attribute_list = {0};
- if (PySys_Audit("_winapi.CreateProcess", "uuu", application_name,
+ if (PySys_Audit("_winapi.CreateProcess", "uOu", application_name,
command_line, current_directory) < 0) {
return NULL;
}