[SERVER-13853] Latent resource leak in BatchedCommandResponse::parseBSON Created: 06/May/14  Updated: 18/Aug/14  Resolved: 12/Aug/14

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

Type: Bug Priority: Major - P3
Reporter: auto Assignee: Randolph Tan
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 renctan in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=17935
The defect was flagged by checker RESOURCE_LEAK in
file /src/mongo/s/write_ops/batched_command_response.cpp
function mongo::BatchedCommandResponse::parseBSON(const mongo::BSONObj &, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
and this ticket was created by renctan



 Comments   
Comment by Githook User [ 12/Aug/14 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-13853 Latent resource leak in BatchedCommandResponse::parseBSON
Branch: master
https://github.com/mongodb/mongo/commit/8fab360707f1a88efd821a7b7981ca972a9cad35

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