Closed Bug 1247922 Opened 8 years ago Closed 8 years ago

[Static Analysis][Resource leak] In function GetManifestContents

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

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)

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;
    }
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.

Attachment

General

Creator:
Created:
Updated:
Size: