]> granicus.if.org Git - python/commit
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008)
authorSiddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Fri, 30 Nov 2018 15:14:25 +0000 (20:44 +0530)
committerVictor Stinner <vstinner@redhat.com>
Fri, 30 Nov 2018 15:14:25 +0000 (16:14 +0100)
commit9eea6eaf23067880f4af3a130e3f67c9812e2f30
tree00006cb82b79d809ee2698a944425511a01ef61b
parent1600f60414e620c4298c15dac803427d8f0a977c
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008)

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.
Misc/NEWS.d/next/Build/2018-08-24-09-48-25.bpo-33015.s21y74.rst [new file with mode: 0644]
Python/thread_pthread.h