[New-bugs-announce] [issue9797] wrong assumption in pystate.c

Antoine Pitrou report at bugs.python.org
Wed Sep 8 13:11:21 CEST 2010

New submission from Antoine Pitrou <pitrou at free.fr>:

pystate.c assumes that when autoTLSkey is 0, it hasn't been created yet. However, some TLS implementations can return 0 as a valid key value. Lots of interesting things then happen.

Here is a patch.

files: autotlskey.patch
keywords: patch
messages: 115858
nosy: amaury.forgeotdarc, krisvale, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: wrong assumption in pystate.c
type: crash
versions: Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file18794/autotlskey.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list