Skip to content

Commit daa818b

Browse files
Fix auditing.
1 parent 70be8cf commit daa818b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval_gil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ static inline int run_remote_debugger_source(PyObject *source)
12201220
// that would be an easy target for a ROP gadget.
12211221
static inline void run_remote_debugger_script(PyObject *path)
12221222
{
1223-
if (0 != PySys_Audit("remote_debugger_script", "U", path)) {
1223+
if (0 != PySys_Audit("remote_debugger_script", "O", path)) {
12241224
PyErr_FormatUnraisable(
12251225
"Audit hook failed for remote debugger script %U", path);
12261226
return;

0 commit comments

Comments
 (0)