Closed
Bug 1202988
Opened 9 years ago
Closed 9 years ago
Don't use GetTempPath for flash's mms.cfg hack for low integrity
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(firefox43 fixed)
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
GetTempPath doesn't return AppData\LocalLow\Temp. So it isn't good for low integrity (sanbox level=2)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → m_kato
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1202988 - Don't use GetTempPath for flash's mms.cfg hack for low integrity; r?aklotz
Attachment #8658575 -
Flags: review?(aklotz)
Comment 2•9 years ago
|
||
Comment on attachment 8658575 [details] MozReview Request: Bug 1202988 - Don't use GetTempPath for flash's mms.cfg hack for low integrity; r?aklotz https://reviewboard.mozilla.org/r/18661/#review16749 r=me with issue addressed. ::: dom/plugins/ipc/PluginModuleChild.cpp:1983 (Diff revision 1) > + if (wcslen(path) + 5 < aLen) { I don't really like this magic number '5' here. I see that it's for "\\Temp" below. So can you just create a NS_NAMED_LITERAL_STRING for "\\Temp" and then call .Length() on it to return the length, instead of having that 5 in there?
Attachment #8658575 -
Flags: review?(aklotz) → review+
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5f612dcf8a09
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•