[SERVER-50833] Coverity analysis defect 115713: Unchecked return value Created: 09/Sep/20  Updated: 29/Oct/23  Resolved: 22/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: Eric Cox (Inactive)
Resolution: Fixed Votes: 0
Labels: coverity, coverity-pm-1854-tracking, qexec-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
Sprint: Query 2020-10-05
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/exec/sbe/stages/traverse.cpp:145: CHECKED_RETURN 115713 Calling "traverse" without checking return value (as is done elsewhere 1 out of 2 times).



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

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-50833 Coverity analysis defect 115713: Unchecked return value
Branch: master
https://github.com/mongodb/mongo/commit/fef3d7d6ab799576de1c7efce10801a040984861

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