Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix crash when reading NULL name
  • Loading branch information
pablogsal committed Jul 9, 2025
commit b65bbf4933507a0fcf52073f20403ec9be9f66fb
4 changes: 4 additions & 0 deletions Modules/_remote_debugging_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,10 @@ parse_coro_chain(
return -1;
}

if (name == NULL) {
return 0;
}

if (PyList_Append(render_to, name)) {
Py_DECREF(name);
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to append frame to coro chain");
Expand Down
Loading