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

Coverity analysis defect 138632: Dereference null return value

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • Storage Engines
    • ALL
    • 2024-02-06 tapioooooooooooooca
    • 1

    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/third_party/wiredtiger/src/conn/conn_compact.c:340: NULL_RETURNS 138632 Assigning: "compact_stat" = "NULL" return value from "__background_compact_get_stat".

      Attachments

        Activity

          People

            etienne.petrel@mongodb.com Etienne Petrel
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: