Closed Bug 658093 Opened 13 years ago Closed 13 years ago

BuildFileList can potentially try to read a signature beyond the end of the zip file

Categories

(Core :: Networking: JAR, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mwu, Assigned: mwu)

Details

(Keywords: crash)

Attachments

(1 file)

      No description provided.
Attached patch FixSplinter Review
This test doesn't always crash unless gdb is attached for some reason.
Attachment #533753 - Flags: review?(tglek)
Comment on attachment 533753 [details] [diff] [review]
Fix

r+ with buf + PRInt32(sizeof(PRUint32)) < endp
Attachment #533753 - Flags: review?(tglek) → review+
http://hg.mozilla.org/mozilla-central/rev/8834e11cf6bf
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: