Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
1
-
StorEng - Defined Pipeline
Description
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
/ext/storage_sources/dir_store/dir_store.c:623: FORWARD_NULL 123600 Comparing "tmp_path" to null implies that "tmp_path" might be null.
/ext/storage_sources/dir_store/dir_store.c:680: FORWARD_NULL 123600 Passing null pointer "tmp_path" to "unlink", which dereferences it.