Closed
Bug 1733349
Opened 3 years ago
Closed 3 years ago
Assert string spans are null-terminated when passed to ICU
Categories
(Core :: Internationalization, task, P3)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
95 Branch
People
(Reporter: anba, Assigned: anba)
References
Details
(Whiteboard: [i18n-unification] )
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
Some functions are accepting Span<const char>
and expect that the underlying
const char*
is null-terminated. Add an assertion that the string is really
null-terminated before passing it to ICU.
And then fix-up any issues where the string span is including the null
terminator. Also see bug 1660161.
Updated•3 years ago
|
Whiteboard: [i18n-unification]
Updated•3 years ago
|
Priority: -- → P4
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c3e08d3d8c2f
Assert Spans are null-terminated when passed as `const char*` to ICU. r=platform-i18n-reviewers,gregtatum
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Updated•3 years ago
|
Updated•3 years ago
|
Priority: P4 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•