◐ Shell
reader mode source ↗
Skip to content

[2.7] bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008)#10823

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:pthread27
Nov 30, 2018
Merged

[2.7] bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008)#10823
vstinner merged 1 commit into
python:2.7from
vstinner:pthread27

Conversation

@vstinner

@vstinner vstinner commented Nov 30, 2018

Copy link
Copy Markdown
Member

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 9eea6ea)

https://bugs.python.org/issue33015

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 9eea6ea)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants