-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Dereference after null check
Either the check against null is unnecessary, or there may be a null pointer dereference. Pointer is checked against null but then dereferenced anyway
/src/tiered/tiered_cursor.c:144: FORWARD_NULL 116994 Comparing "curtiered->cursors" to null implies that "curtiered->cursors" might be null.
/src/tiered/tiered_cursor.c:145: FORWARD_NULL 116994 Although "__curtiered_open_cursors" does overwrite "curtiered->cursors" on some paths, it also contains at least one feasible path which does not overwrite it.
- is related to
-
WT-7131 Tiered cursors should return error if configured with zero tiers
- Closed