7.0 -- Coverity analysis defect 171029: Dereference after null check

XMLWordPrintableJSON

    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2025-04-14
    • None
    • 3
    • 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:702: FORWARD_NULL 171029 Comparing "reopeningContext" to null implies that "reopeningContext" might be null.
      /src/mongo/db/timeseries/bucket_catalog/bucket_catalog_internal.cpp:724: FORWARD_NULL 171029 Dereferencing null pointer "reopeningContext".

              Assignee:
              Binh Vo
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: