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

Coverity analysis defect 72817: Unchecked return value

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Platform 9 (09/18/15)

    Description

      Value returned from a function is not checked for errors before being used

      Defect 72817 (STATIC_C)
      Checker CHECKED_RETURN (subcategory none)
      File: /src/mongo/util/debugger.cpp
      Function mongo::breakpoint()
      /src/mongo/util/debugger.cpp, line: 52
      Calling "sigaction" without checking return value (as is done elsewhere 15 out of 17 times).

                  sigaction(SIGTRAP, NULL, &current);

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: