[New-bugs-announce] [issue23565] local_clear walks the list of threads without holding head_lock.
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)
title: local_clear walks the list of threads without holding head_lock.
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce