[SERVER-20005] Coverity analysis defect 73577: Explicit null dereferenced Created: 18/Aug/15  Updated: 24/Aug/15  Resolved: 24/Aug/15

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

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

Issue Links:
Related
related to SERVER-20002 Coverity analysis defect 73586: Expli... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 8 08/28/15
Participants:

 Description   

Dereference of an explicit null value

Defect 73577 (STATIC_C)
Checker FORWARD_NULL (subcategory deref_constant_null)
File: /src/mongo/db/modules/enterprise/src/encryptdb/encryption_key_manager.cpp
Function mongo::EncryptionKeyManager::getKey(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
/src/mongo/db/modules/enterprise/src/encryptdb/encryption_key_manager.cpp, line: 175
Dereferencing null pointer "this->_keyStorageConnection".

        invariantWTOK(


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