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 2015-04-18.22:42:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
_PyImport_ReInitLock() doesn't check the return value of PyThread_allocate_lock(). A failed lock allocation can either lead to a NULL pointer dereference or to race conditions caused by a missing import lock.

As there is no way to recover from a failed lock allication I recommend to abort with a fatal error.

CID 1295025 (#1 of 1): Dereference after null check (FORWARD_NULL)
var_deref_model: Passing null pointer import_lock to PyThread_acquire_lock, which dereferences it.
Date User Action Args
2015-04-18 22:42:35christian.heimessetrecipients: + christian.heimes
2015-04-18 22:42:35christian.heimessetmessageid: <>
2015-04-18 22:42:35christian.heimeslinkissue23998 messages
2015-04-18 22:42:34christian.heimescreate