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

Check remove() API's return value

    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2022-12-12, QE 2022-12-26

      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.
      /src/mongo/db/storage/named_pipe_posix.cpp:49: CHECKED_RETURN 134052 Calling "remove(this->_pipeAbsolutePath.c_str())" without checking return value. This library function may fail and return an error code.

            Assignee:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: