-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: WiredTiger
-
Fully Compatible
-
ALL
Use of an uninitialized variable
Defect 76653 (STATIC_C)
Checker UNINIT (subcategory none)
File: /src/third_party/wiredtiger/src/evict/evict_lru.c
Function __evict_server
/src/third_party/wiredtiger/src/evict/evict_lru.c, line: 162
Declaring variable "stuck_ts" without initializer.
struct timespec now, stuck_ts;
/src/third_party/wiredtiger/src/evict/evict_lru.c, line: 213
Using uninitialized value "stuck_ts.tv_nsec".
if (WT_TIMEDIFF(now, stuck_ts) / WT_BILLION > 300) {
File: /src/third_party/wiredtiger/src/evict/evict_lru.c
Function __evict_server
/src/third_party/wiredtiger/src/evict/evict_lru.c, line: 162
Declaring variable "stuck_ts" without initializer.
struct timespec now, stuck_ts;
/src/third_party/wiredtiger/src/evict/evict_lru.c, line: 208
Using uninitialized value "stuck_ts.tv_sec".
} else if (stuck_ts.tv_sec == 0)
- is depended on by
-
WT-1973 MongoDB changes for WiredTiger 2.7.0
- Closed