[SERVER-14178] Coverity analysis defect 24527: Dereference before null check Created: 05/Jun/14  Updated: 11/Jul/16  Resolved: 09/Jun/14

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.7.2

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

A new defect has been detected and assigned to milkie in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=24527
The defect was flagged by checker REVERSE_INULL in
file /src/mongo/db/d_concurrency.cpp
function mongo::Lock::TempRelease::TempRelease(mongo::LockState *)
and this ticket was created by milkie



 Comments   
Comment by Githook User [ 09/Jun/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14178 Do NULL check before dereferencing
Branch: master
https://github.com/mongodb/mongo/commit/0974eb38fe72b31463d2e140013e89ac0eb45500

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