Make memory allocation functions in HyphenReporter infallible, as assumed by libhyphen
Categories
(Core :: Layout: Text and Fonts, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox-esr68 | --- | unaffected |
| firefox68 | --- | unaffected |
| firefox69 | --- | unaffected |
| firefox70 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
In bug 1567437, we added memory reporting for libhyphen, by replacing its direct use of moz_xmalloc and friends with a CountingAllocator. However, this had the inadvertent side-effect of changing from infallible to fallible allocation, which is not safe; the libhyphen code assumes an infallible allocator.
So we need to ensure the HyphenReporter allocation functions are infallible.
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
:njn - was there something further you wanted tweaked in part 1? Phabricator says "requested changes" but I don't see any new comment...
Comment 4•6 years ago
|
||
This comment: https://phabricator.services.mozilla.com/D41720#1257899
| Assignee | ||
Comment 5•6 years ago
|
||
D'uh - sorry, clearly a lack of coffee or something! Will update.
Updated•6 years ago
|
Comment 7•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3fd3531df50e
https://hg.mozilla.org/mozilla-central/rev/f1d84baef0c3
Updated•6 years ago
|
Updated•6 years ago
|
Updated•4 years ago
|
Description
•