Open
Bug 1181433
Opened 10 years ago
Updated 5 years ago
nsDocumentEncoder doesn't handle short writes from nsIOutputStream
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox42 | --- | affected |
People
(Reporter: jld, Unassigned)
Details
nsDocumentEncoder calls nsIOutputStream::Write in various places and then ignores the out parameter indicating how many bytes were written. nsIOutputStream.idl is relatively unambiguous about this:
> * @return number of bytes written (may be less than aCount)
This bug seems to have been introduced in the patch for bug 50742 and remained unnoticed for nearly 15 years, until I tripped over it while working on bug 1101100.
Comment 1•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•