Coverity analysis defect 72817: Unchecked return value

XMLWordPrintableJSON

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

      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);
      

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: