Closed Bug 1529622 Opened 3 years ago Closed 3 years ago

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

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug)

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: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Assignee: nobody → ehsan
You need to log in before you can comment on or make changes to this bug.