Closed
Bug 1715982
Opened 2 years ago
Closed 2 years ago
Incorrect initial capacity computation for NumberPartVector
Categories
(Core :: Internationalization, defect, P1)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
91 Branch
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: anba, Assigned: dminor)
References
Details
(Whiteboard: [i18n-unification])
Attachments
(1 file)
using NumberPartVector = mozilla::Vector<NumberPart, 8 * sizeof(NumberPart)>;
It's incorrect to multiply by sizeof(NumberPart)
here. It should be instead:
using NumberPartVector = mozilla::Vector<NumberPart, 8>;
Assignee | ||
Comment 1•2 years ago
|
||
Thanks for catching this!
Assignee: nobody → dminor
Severity: -- → S3
Priority: -- → P1
Assignee | ||
Comment 2•2 years ago
|
||
Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24439c0e5af4 Fix initial capacity of NumberPartVector; r=anba
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Updated•2 years ago
|
Whiteboard: [i18n-unification]
You need to log in
before you can comment on or make changes to this bug.
Description
•