https://github.com/python/cpython/commit/639f218f9c16af19e77e677c9329cada3d037ee0
commit: 639f218f9c16af19e77e677c9329cada3d037ee0
branch: main
author: Stan Ulbrych <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-04-11T09:10:02+01:00
summary:
Fix format string mismatch for `uint64_t` in `_remote_debugging/threads.c`
(#148360)
files:
M Modules/_remote_debugging/threads.c
diff --git a/Modules/_remote_debugging/threads.c
b/Modules/_remote_debugging/threads.c
index a38bb945169a77..07f8148d7c941a 100644
--- a/Modules/_remote_debugging/threads.c
+++ b/Modules/_remote_debugging/threads.c
@@ -192,7 +192,7 @@ get_thread_status(RemoteUnwinderObject *unwinder, uint64_t
tid, uint64_t pthread
char stat_path[256];
char buffer[2048] = "";
- snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%lu/stat",
unwinder->handle.pid, tid);
+ snprintf(stat_path, sizeof(stat_path), "/proc/%d/task/%" PRIu64 "/stat",
unwinder->handle.pid, tid);
int fd = open(stat_path, O_RDONLY);
if (fd == -1) {
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]