[SERVER-13851] Coverity analysis defect 22903: Dereference null return value Created: 06/May/14  Updated: 11/Jul/16  Resolved: 07/May/14

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

Type: Bug Priority: Major - P3
Reporter: auto Assignee: Matt Dannenberg
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 mattd@10gen.com in Coverity Connect.
https://coverity.mongodb.com/reports.htm#v11752/p10001/fileInstanceId=4009586&defectInstanceId=1068390&mergedDefectId=22903
The defect was flagged by checker NULL_RETURNS in
file /src/mongo/db/repl/oplog.cpp
function mongo::applyOperation_inlock(mongo::TransactionExperiment *, mongo::Database *, const mongo::BSONObj &, bool, bool)
and this ticket was created by milkie



 Comments   
Comment by Githook User [ 07/May/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13851 add a safety invariant to replicated commands to appease coverity
Branch: master
https://github.com/mongodb/mongo/commit/e5657a821b9bbfe195f00da9fde502d7637fa1b5

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