[SERVER-36810] Coverity analysis defect 104983: Unchecked return value Created: 22/Aug/18 Updated: 29/Oct/23 Resolved: 14/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.4 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Coverity Collector User | Assignee: | Jonathan Reams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2018-09-24 |
| Participants: |
| Description |
|
Value returned from a function is not checked for errors before being used Defect 104983 (STATIC_C)
|
| Comments |
| Comment by Githook User [ 27/Sep/18 ] |
|
Author: {'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}Message: Revert " This reverts commit 4fe0de9a46492e9fa747e88234e483d172d9c410. |
| Comment by Githook User [ 14/Sep/18 ] |
|
Author: {'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com', 'username': 'jbreams'}Message: |
| Comment by Gregory McKeon (Inactive) [ 11/Sep/18 ] |
| Comment by Eric Milkie [ 22/Aug/18 ] |
|
Should we assert that we don't go below zero for this subtractAndFetch? |