Closed
Bug 1247922
Opened 8 years ago
Closed 8 years ago
[Static Analysis][Resource leak] In function GetManifestContents
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
DUPLICATE
of bug 1247217
People
(Reporter: andi, Assigned: andi)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, Whiteboard: CID 749520)
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
The Static Analysis tool Coverity added that in the following context if if is evaluated to true mbuf leaks:
>> const size_t count = mmin(SSIZE_MAX, r);
>> size_t c = fread(rb, 1, count, mfile);
>> if (c != count) {
>> LOG(("GetManifestContents: error reading manifest file: " LOG_S, manifest));
>> return nullptr;
}
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/34755/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/34755/
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•