Closed Bug 1529622 Opened 1 year ago Closed 1 year ago

jsJitArgsRectifier_, jsJitExceptionHandler_ and preBarrierCode_ are left uninitialized in wasm::Instance's constructor

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: ehsan, Assigned: ehsan)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Coverity warns about these uninitialized members. They're initialized inside init(), which is fallible and can bail out early before initializing those members.

Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/024508ba77de
Initialize jsJitArgsRectifier_, jsJitExceptionHandler_ and preBarrierCode_ in wasm::Instance's constructor; r=luke
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.