Closed Bug 1743007 Opened 3 years ago Closed 3 years ago

Convert expat XML_StopParser API to take an int param instead of u8

Categories

(Core :: Security: RLBox, defect, P3)

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: shravanrn, Assigned: shravanrn)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is a short term fix to Bug 1742913 (RLBox wasm plugin is missing a narrowing conversion when passing u16 or u8 parameters)

To handle this for now, we convert any APIs called by sandbox_invoke that are u8 or u16 to u32. In the 5 currently sandboxed libraries (graphite, ogg, hunspell, expat, woff2), the only case is MOZ_Xml_StopParser in expat.

Pushed by bholley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d0e7b9957b9 Convert expat XML_StopParser API to take an int param instead of u8 r=bholley
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Blocks: 1758626
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: