Closed Bug 2062484 Opened 3 months ago Closed 3 months ago

Update libffi to version 3.8.0

Categories

(Core :: js-ctypes, task, P1)

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

Details

Attachments

(2 external files)

The plan's size was hardcoded as two pointers because ffi_call_plan is an
incomplete type at this site, which only covered the handle and left the
argument-placement data it owns unaccounted. libffi 3.8.0 adds a size query,
so ask the plan instead. The two accounting sites can no longer disagree,
since both read the same immutable plan.

This raises the version floor for the fast path from 3.7.0 to 3.8.0, which
only affects builds against a system libffi older than 3.8.0; those fall back
to ffi_call as they already do on other targets.

Severity: -- → N/A
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
QA Whiteboard: [qa-triage-done-c157/b156]
See Also: → 2092994
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: