[SERVER-70970] Check remove() API's return value Created: 31/Oct/22 Updated: 29/Oct/23 Resolved: 15/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Coverity Collector User | Assignee: | Yoon Soo Kim |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | QE 2022-12-12, QE 2022-12-26 | ||||||||||||||||
| 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. |
| Comments |
| Comment by Githook User [ 30/Dec/22 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: |
| Comment by Githook User [ 15/Dec/22 ] |
|
Author: {'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}Message: |
| Comment by Kyle Suarez [ 31/Oct/22 ] |
|
The man page for remove(3) states
|