Closed
Bug 1690172
Opened 5 years ago
Closed 5 years ago
ReportTooBigCharacter's buffer is too small
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•5 years ago
|
||
The format string is "0x%u", which can output up to 10 characters...
plus a nul terminator. So it needs a max of 11 bytes, otherwise,
SprintfLiteral truncates and adds a nul terminator, which leaves
all values > 0x7fffffff displayed without their lowest bits.
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/c2d4686467a1
Fix Sprintf buffer size in ReportTooBigCharacter. r=sfink
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•