Opened 11 years ago

Closed 11 years ago

#10140 closed bug (fixed)

[file_systems/nfs4] kernel_interface.cpp: Mismatching allocation and deallocation

Reported by: mt Owned by: pdziepak
Priority: normal Milestone: R1
Component: File Systems/NFS4 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In ParseArguments(), variable *_server is allocated by strdup(), but deallocated by delete. Please see attached report.

Attachments (2)

0001-Fix-mismatching-allocation-and-deallocation.patch (1021 bytes ) - added by mt 11 years ago.
Patch
report-3027b6.html (194.4 KB ) - added by mt 11 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 11 years ago

patch: 01

by mt, 11 years ago

Attachment: report-3027b6.html added

Report by Clang Static Analyzer

comment:2 by pdziepak, 11 years ago

Resolution: fixed
Status: newclosed

Thank you! Applied, among other fixes, in hrev46300.

Note: See TracTickets for help on using tickets.