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

Coverity analysis defect 121890: Dereference null return value

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • QE 2022-03-21

      Dereference null return value

      If the function actually returns a null value, a null pointer dereference will occur. Return value of function which returns null is dereferenced without checking
      /src/mongo/db/query/sbe_stage_builder_lookup.cpp:284: NULL_RETURNS 121890 Assigning: "indexDescriptor" = "nullptr" return value from "findIndexByName".

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: