Opened 10 years ago

Closed 10 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:
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 10 years ago.
Patch
report-152326.html (19.9 KB ) - added by mt 10 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (5)

comment:1 by mt, 10 years ago

patch: 01

by mt, 10 years ago

Attachment: report-152326.html added

Report by Clang Static Analyzer

comment:2 by anevilyak, 10 years ago

Owner: changed from axeld to pulkomandy
Status: newassigned

comment:3 by pulkomandy, 10 years ago

Resolution: fixed
Status: assignedclosed

Applied in hrev46640. Thanks!

Note: See TracTickets for help on using tickets.