[SERVER-50826] Coverity analysis defect 111811: Unchecked return value Created: 09/Sep/20  Updated: 29/Oct/23  Resolved: 25/Sep/20

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: coverity, coverity-pm-1854-tracking, greenerbuild, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-49363 Triage Coverity Issues for Query code... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Unchecked return value

If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used
/src/mongo/db/query/index_tag.cpp:300: CHECKED_RETURN 111811 Calling "processOrPushdownNode" without checking return value (as is done elsewhere 1 out of 2 times).



 Comments   
Comment by Githook User [ 25/Sep/20 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com'}

Message: SERVER-50826 fix unchecked return value in index tag
Branch: master
https://github.com/mongodb/mongo/commit/fd3e81235ddde4f631e14d784aa81b637860437f

Generated at Thu Feb 08 05:23:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.