Message241462
_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:35 | christian.heimes | set | recipients:
+ christian.heimes |
2015-04-18 22:42:35 | christian.heimes | set | messageid: <1429396955.07.0.854315130889.issue23998@psf.upfronthosting.co.za> |
2015-04-18 22:42:35 | christian.heimes | link | issue23998 messages |
2015-04-18 22:42:34 | christian.heimes | create | |
|