[SERVER-15737] Coverity analysis defect 41895: Dereference null return value Created: 20/Oct/14  Updated: 25/Oct/14  Resolved: 20/Oct/14

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.7.8

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

A new defect has been detected and assigned to spencer in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=41895
The defect was flagged by checker NULL_RETURNS in
file /src/mongo/db/repl/repl_coordinator_external_state_impl.cpp
function mongo::repl::ReplicationCoordinatorExternalStateImpl::dropAllTempCollections(mongo::OperationContext *)
and this ticket was created by milkie



 Comments   
Comment by Githook User [ 20/Oct/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-15737 Assert that db is non-NULL before using it, in response to coverity analysis
Branch: master
https://github.com/mongodb/mongo/commit/3683bb578d9d489655f72420463401283c9ac3da

Generated at Thu Feb 08 03:38:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.