Staging
v0.5.1
https://github.com/python/cpython
Revision 8f83c2fb19c45350c2161d9e75dab4cd2bcaee28 authored by Victor Stinner on 30 November 2018, 16:04:35 UTC, committed by GitHub on 30 November 2018, 16:04:35 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 dab59fa
Raw File
Tip revision: 8f83c2fb19c45350c2161d9e75dab4cd2bcaee28 authored by Victor Stinner on 30 November 2018, 16:04:35 UTC
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) (GH-10823)
Tip revision: 8f83c2f
.gitattributes
# Binary data types
*.aif binary
*.aifc binary
*.aiff binary
*.au binary
*.bmp binary
*.db binary
*.exe binary
*.icns binary
*.gif binary
*.ico binary
*.jpg binary
*.pck binary
*.png binary
*.tar binary
*.wav binary
*.whl binary
*.zip binary

# Specific binary files
Lib/test/sndhdrdata/sndhdr.* binary

# Text files that should not be subject to eol conversion
Lib/test/cjkencodings/* -text
Lib/test/decimaltestdata/*.decTest -text
Lib/email/test/data/*.txt -text
Lib/test/xmltestdata/* -text

# Special files in third party code
Modules/zlib/zlib.map -text

# CRLF files
*.bat text eol=crlf
*.ps1 text eol=crlf
*.sln text eol=crlf
*.vcxproj* text eol=crlf
*.vcproj text eol=crlf
*.vsprops text eol=crlf
*.props text eol=crlf
*.proj text eol=crlf
PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf
back to top