Skip to content

Commit b65bbf4

Browse files
committed
Fix crash when reading NULL name
1 parent 8847d02 commit b65bbf4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/_remote_debugging_module.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,10 @@ parse_coro_chain(
945945
return -1;
946946
}
947947

948+
if (name == NULL) {
949+
return 0;
950+
}
951+
948952
if (PyList_Append(render_to, name)) {
949953
Py_DECREF(name);
950954
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to append frame to coro chain");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy