[SERVER-15717] Coverity analysis defect 41387: Using invalid iterator Created: 17/Oct/14  Updated: 11/Jul/16  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: Andy Schwerin
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 schwerin in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=41387
The defect was flagged by checker INVALIDATE_ITERATOR in
file /src/mongo/db/repl/network_interface_impl.cpp
function mongo::repl::NetworkInterfaceImpl::cancelCommand(const mongo::repl::ReplicationExecutor::CallbackHandle &)
and this ticket was created by asya



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

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15717 Fix use-after-free when logging at high log levels in replication network interface.
Branch: master
https://github.com/mongodb/mongo/commit/b39003c0b966ff882157c2bc1a4be4a5d1da5960

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