Closed Bug 1675465 Opened 4 years ago Closed 4 years ago

Add DIAGNOSTIC_ASSERT in nsJARInputStream::Read

Categories

(Core :: Networking: JAR, task, P1)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

We want to make sure we don't read more data than we expected to.

We want to make sure we accidentally read more than the size of the file.

Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0108c177d431
Add DIAGNOSTIC_ASSERT in nsJARInputStream::Read r=jstutte
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: