Opened 6 years ago

Closed 6 years ago

#10371 closed bug (fixed)

[kits/network/libnetapi] DataRequest.cpp: Mismatching allocation and deallocation

Reported by: mt Owned by: pulkomandy
Priority: normal Milestone: R1
Component: Kits/Network Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

In BDataRequest::_ProtocolLoop(), variable buffer is allocated by new[], but deallocated by delete. Please see attached report.

Attachments (2)

0001-Fix-mismatching-allocation-and-deallocation.patch (701 bytes) - added by mt 6 years ago.
Patch
report-152326.html (19.9 KB) - added by mt 6 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (5)

comment:1 Changed 6 years ago by mt

Has a Patch: set

Changed 6 years ago by mt

Attachment: report-152326.html added

Report by Clang Static Analyzer

comment:2 Changed 6 years ago by anevilyak

Owner: changed from axeld to pulkomandy
Status: newassigned

comment:3 Changed 6 years ago by pulkomandy

Resolution: fixed
Status: assignedclosed

Applied in hrev46640. Thanks!

Note: See TracTickets for help on using tickets.