Opened 11 years ago

Closed 4 years ago

Last modified 4 years ago

#9873 closed bug (fixed)

[Mail] Content.cpp: Potential memory leak in TTextView::AddQuote()

Reported by: mt Owned by: czeidler
Priority: normal Milestone: R1/beta2
Component: Applications/Mail Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In TTextView::AddQuote(), return value of realloc() is assigned to the variable "target". So, if realloc() fails, the memory that is allocated to "target" might leak. Please see attached report.

Attachments (1)

report-mq2NP5.html (386.2 KB ) - added by mt 11 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (3)

by mt, 11 years ago

Attachment: report-mq2NP5.html added

Report by Clang Static Analyzer

comment:1 by waddlesplash, 4 years ago

Resolution: fixed
Status: newclosed

Fix merged in hrev53727.

comment:2 by nielx, 4 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.