[SERVER-70887] Coverity analysis defect 134025: Unchecked return value from library Created: 27/Oct/22  Updated: 05/Dec/22  Resolved: 01/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Backlog - Query Execution
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-70970 Check remove() API's return value Closed
Assigned Teams:
Query Execution
Operating System: ALL
Participants:

 Description   

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:47: CHECKED_RETURN 134025 Calling "remove(this->_pipePath)" without checking return value. This library function may fail and return an error code.



 Comments   
Comment by Kyle Suarez [ 01/Nov/22 ]

Closing as a duplicate of SERVER-70970; I filed this one yesterday.

Generated at Thu Feb 08 06:17:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.