Opened 6 years ago

#9873 new bug

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

Download all attachments as: .zip

Change History (1)

by mt, 6 years ago

Attachment: report-mq2NP5.html added

Report by Clang Static Analyzer

Note: See TracTickets for help on using tickets.