[SERVER-18689] Coverity analysis defect 11212: Resource leak Created: 27/May/15  Updated: 08/Jan/24  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: Andrew Morrow (Inactive)
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
Sprint: Platform 8 08/28/15
Participants:

 Description   

Leak of memory or pointers to system resources

Defect 11212 (STATIC_C)
Checker RESOURCE_LEAK (subcategory none)
File: /src/third_party/v8/src/debug-agent.cc
Function v8::internal::DebuggerAgentUtil::ReceiveMessage(const v8::internal::Socket *)
/src/third_party/v8/src/debug-agent.cc, line: 312
Assigning: "buffer" = storage returned from "v8::internal::NewArray(content_length + 1)".

      char* buffer = NewArray<char>(content_length + 1);

/src/third_party/v8/src/debug-agent.cc, line: 316
Variable "buffer" going out of scope leaks the storage it points to.

        return SmartArrayPointer<char>();



 Comments   
Comment by Andrew Morrow (Inactive) [ 24/Aug/15 ]

V8 support has been removed in SERVER-19378

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