[New-bugs-announce] [issue23565] local_clear walks the list of threads without holding head_lock.
Daniel Stutzbach
report at bugs.python.org
Mon Mar 2 20:45:23 CET 2015
New submission from Daniel Stutzbach:
local_clear in _threadmodule.c walks the list of threads without holding head_mutex. Since the list of threads can change when holding only head_mutex and not on the GIL, the list can change while local_clear is executing, which may cause Bad Things to happen.
----------
components: Library (Lib)
messages: 237078
nosy: stutzbach
priority: normal
severity: normal
status: open
title: local_clear walks the list of threads without holding head_lock.
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23565>
_______________________________________
More information about the New-bugs-announce
mailing list