Closed Bug 1544383 Opened 6 months ago Closed 6 months ago

Fix WebAssembly Class Initialization in Fuzzing Target

Categories

(Core :: Javascript: WebAssembly, defect, major)

All
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: decoder, Assigned: decoder)

References

Details

Attachments

(1 file)

Right now we call wasm::HasSupport in the init function of the fuzzing target. This is not sufficient and causes crashes when certain WebAssembly classes are being used. Instead, we need to call js::InitWebAssemblyClass to initialize all classes properly.

Pushed by choller@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a4ad642832f5
Fix WebAssembly class init in fuzzing target. r=bbouvier
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.