-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
2
-
Storage - Ra 2022-03-07
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/btree/bt_sync.c:227: FORWARD_NULL 121527 Comparing "ref->page" to null implies that "ref->page" might be null.
/src/btree/bt_sync.c:284: FORWARD_NULL 121527 Dereferencing null pointer "ref->page".