Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
Description
Thread shared data is accessed without holding an appropriate lock, possibly causing a race condition
Defect 98532 (STATIC_C)
Checker MISSING_LOCK (subcategory none)
File: /src/third_party/wiredtiger/src/conn/conn_handle.c
Function __wt_connection_init
/src/third_party/wiredtiger/src/conn/conn_handle.c, line: 31
Accessing "conn->fhqh.tqh_last" without holding lock "_wt_spinlock.lock". Elsewhere, "wt_fh_qh.tqh_last" is accessed with "_wt_spinlock.lock" held 4 out of 5 times.
TAILQ_INIT(&conn->fhqh); /* File list */
|