Closed
Bug 1740254
Opened 3 years ago
Closed 3 years ago
GC parameters are not sufficiently checked
Categories
(Core :: JavaScript: GC, defect, P3)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
96 Branch
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file)
I don't know whether this is the cause of bug 1740097, but the test in question sets the allocationThreshold to ~1000000. This parameter is in MB and converting this value to bytes causes an overflow which ends up setting the parameter to something really small.
Assignee | ||
Comment 1•3 years ago
|
||
This adds a 4GB max limit for GC parameters related to heap size and fixes the
test that set this to an over-large value.
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e49ceeb6a2ea Check GC heap parameters are reasonable r=sfink
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•