https://github.com/python/cpython
Revision fb6feaac53d8320323265d066cf3ede22330c86a authored by Siddhesh Poyarekar on 30 November 2018, 15:14:25 UTC, committed by Miss Islington (bot) on 30 November 2018, 15:14:34 UTC
Fix an undefined behaviour in the pthread implementation of
PyThread_start_new_thread(): add a function wrapper to always return
NULL.

Add pythread_callback struct and pythread_wrapper() to thread_pthread.h.
(cherry picked from commit 9eea6eaf23067880f4af3a130e3f67c9812e2f30)

Co-authored-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
1 parent 365f21c
History
Tip revision: fb6feaac53d8320323265d066cf3ede22330c86a authored by Siddhesh Poyarekar on 30 November 2018, 15:14:25 UTC
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008)
Tip revision: fb6feaa
File Mode Size
README -rw-r--r-- 67 bytes
_freeze_importlib.c -rw-r--r-- 4.7 KB
_testembed.c -rw-r--r-- 17.8 KB
python.c -rw-r--r-- 266 bytes

README

back to top