Coverity analysis defect 177506: Dereference after null check

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • ALL
    • None
    • None
    • None
    • None
    • None
    • 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/mongo/db/timeseries/bucket_catalog/bucket_catalog_internal.cpp:703: FORWARD_NULL 177506 Comparing "reopeningContext" to null implies that "reopeningContext" might be null.
      /src/mongo/db/timeseries/bucket_catalog/bucket_catalog_internal.cpp:725: FORWARD_NULL 177506 Dereferencing null pointer "reopeningContext".

            Assignee:
            Unassigned
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: