This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2013-06-29.19:53:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372535617.95.0.680763936377.issue18328@psf.upfronthosting.co.za>
In-reply-to
Content
Coverity doesn't like the code in and I think it's right. Can somebody look into the matter and check Python 3.3, too?

http://hg.python.org/cpython/file/ac7bc6700ac3/Python/pystate.c#l376
http://hg.python.org/cpython/file/ac7bc6700ac3/Python/pystate.c#l394

10. freed_arg: "tstate_delete_common(PyThreadState *)" frees "tstate". 

395    tstate_delete_common(tstate);
   
11. Condition "autoInterpreterState", taking true branch
   
CID 1019639 (#1 of 1): Use after free (USE_AFTER_FREE)12. use_after_free: Using freed pointer "tstate".
396    if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate)
397        PyThread_delete_key_value(autoTLSkey);
History
Date User Action Args
2013-06-29 19:53:37christian.heimessetrecipients: + christian.heimes
2013-06-29 19:53:37christian.heimessetmessageid: <1372535617.95.0.680763936377.issue18328@psf.upfronthosting.co.za>
2013-06-29 19:53:37christian.heimeslinkissue18328 messages
2013-06-29 19:53:37christian.heimescreate