Closed
Bug 1489462
Opened 6 years ago
Closed 6 years ago
Avoid writing past the logical length of a string in Oculus library loader
Categories
(Core :: WebVR, enhancement)
Core
WebVR
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cde900728bbb03785ab7a9d7535487c3ccc5ae4a
Assignee | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5ca3a7aa7ee0c0e89caa447686a4d6cd8c3db96e
Assignee | ||
Comment 3•6 years ago
|
||
* Avoid writing past an XPCOM string's length using BeginWriting(). * Instead of having a constant for max path length, query the Windows API for the length it wants. * Avoid using AppendPrintf for mere concatenation using arguments that might contain non-ASCII. MozReview-Commit-ID: 9m7xOHRTB35
Comment 4•6 years ago
|
||
Comment on attachment 9007421 [details] Bug 1489462 - Avoid writing past the logical length of a string in Oculus library loader. :kip (Kearwood Gilbert) has approved the revision.
Attachment #9007421 -
Flags: review+
Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3dbc855f18d5 Avoid writing past the logical length of a string in Oculus library loader. r=kip
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3dbc855f18d5
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•