[SERVER-71696] Coverity analysis defect 134259: Unchecked return value from library Created: 30/Nov/22  Updated: 28/Dec/22  Resolved: 21/Dec/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: Yoon Soo Kim
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on 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:52: CHECKED_RETURN 134259 Calling "remove(this->_pipeAbsolutePath.c_str())" without checking return value. This library function may fail and return an error code.


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