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

[SBE] Coverity analysis defect 117733: Dereference null return value

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • Fully Compatible
    • Query Execution 2021-03-22

    Description

      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_index_scan.cpp:691: NULL_RETURNS 117733 Assigning: "descriptor" = "nullptr" return value from "findIndexByName".

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: