Staging
v0.5.1
https://github.com/python/cpython
Revision 03b1200dfd03061e9ad0bff8199967bd80b9b900 authored by Victor Stinner on 30 November 2018, 16:04:46 UTC, committed by GitHub on 30 November 2018, 16:04:46 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)
1 parent af7e81f
History
Tip revision: 03b1200dfd03061e9ad0bff8199967bd80b9b900 authored by Victor Stinner on 30 November 2018, 16:04:46 UTC
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) (GH-10822)
Tip revision: 03b1200
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.4 KB
.hgignore -rw-r--r-- 1.3 KB
.travis.yml -rw-r--r-- 5.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 59.5 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 479.2 KB
configure.ac -rw-r--r-- 161.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 41.1 KB
setup.py -rw-r--r-- 102.1 KB

README.rst

back to top