Coverity analysis defect 162644: Unchecked return value from library

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Unchecked return value from library

      The function returns a value that indicates an error condition. If this is not checked, the error condition may not be handled correctly. Value returned from a library function is not checked for errors before being used. This value may indicate an error condition.
      /data/mci/ca51a75ec01e2db4c86c36e81ffcbc1a/bazel_cache/9609e6a8b9a79735a5ea9f2aad32fa3a/execroot/_main/src/mongo/unittest/inline_auto_update.cpp:381: CHECKED_RETURN 162644 Calling "rename(tempFileName.c_str(), fileName->c_str())" without checking return value. This library function may fail and return an error code.

              Assignee:
              Unassigned
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: