[SERVER-15716] Coverity analysis defect 41201: Logical vs. bitwise operator 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: 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 schwerin in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=41201
The defect was flagged by checker CONSTANT_EXPRESSION_RESULT in
file /src/mongo/db/repl/network_interface_mock.cpp
function mongo::repl::NetworkInterfaceMock::_waitForWork_inlock(boost::unique_lock<boost::mutex> *)
and this ticket was created by asya



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

Author:

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

Message: SERVER-15716 change logical not to bitwise not in NetworkInterfaceMock
Branch: master
https://github.com/mongodb/mongo/commit/a621851eada5b2477ca6aa5e6e9455149af9cf56

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