Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Platform 8 08/28/15
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>();
|