Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-102272

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

    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2025-04-14
    • 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@mongodb.com Binh Vo
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None