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

Coverity analysis defect 116503: Unchecked return value

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • Labels:
    • ALL
    • Security 2020-11-16

      Unchecked return value

      If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used
      /src/mongo/db/auth/authz_manager_external_state_local.cpp:407: CHECKED_RETURN 116503 Calling "addPrivilegesForBuiltinRole" without checking return value (as is done elsewhere 2 out of 4 times).

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: