Opened 7 years ago

Closed 6 weeks ago

#9873 closed bug (fixed)

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

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


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 7 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (2)

by mt, 7 years ago

Attachment: report-mq2NP5.html added

Report by Clang Static Analyzer

comment:1 by waddlesplash, 6 weeks ago

Resolution: fixed
Status: newclosed

Fix merged in hrev53727.

Note: See TracTickets for help on using tickets.