diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-30 16:04:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 16:04:46 (GMT) |
commit | 03b1200dfd03061e9ad0bff8199967bd80b9b900 (patch) | |
tree | 1555701926d9eb1beba824c8f8ff71c4b276229b /Misc/NEWS.d | |
parent | af7e81f71858519de8d2bafcb38fce8cca86aa0a (diff) | |
download | cpython-03b1200dfd03061e9ad0bff8199967bd80b9b900.zip cpython-03b1200dfd03061e9ad0bff8199967bd80b9b900.tar.gz cpython-03b1200dfd03061e9ad0bff8199967bd80b9b900.tar.bz2 |
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) (GH-10822)
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)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Build/2018-08-24-09-48-25.bpo-33015.s21y74.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2018-08-24-09-48-25.bpo-33015.s21y74.rst b/Misc/NEWS.d/next/Build/2018-08-24-09-48-25.bpo-33015.s21y74.rst new file mode 100644 index 0000000..8c5a0c9 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2018-08-24-09-48-25.bpo-33015.s21y74.rst @@ -0,0 +1,3 @@ +Fix an undefined behaviour in the pthread implementation of +:c:func:`PyThread_start_new_thread`: add a function wrapper to always return +``NULL``. |