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

Coverity analysis defect 121236: Unchecked return value

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QE 2021-12-27, QE 2022-01-10

      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/exec/sbe/stages/hash_agg.cpp:94: CHECKED_RETURN 121236 Calling "restore" without checking return value (as is done elsewhere 12 out of 23 times).

            Assignee:
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: