Closed
Bug 1901555
Opened 3 months ago
Closed 3 months ago
GetFontFileName in ScaledFontDWrite.cpp causes performance issue with USER_RESTRICTED
Categories
(Core :: Security: Process Sandboxing, enhancement, P1)
Tracking
()
RESOLVED
FIXED
129 Branch
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: bobowen, Assigned: bobowen)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
GetFontFileName calls GetFileAttributesW
at the end of its checks, which with USER_RESTRICTED access token level causes a sync call to the parent process.
Assignee | ||
Comment 1•3 months ago
|
||
With a USER_RESTRICTED access token level this requires a sync call to the
parent process via the sandbox's shared memory IPC.
This patch also caches the font file name as GetFontFileName, still requires
a number of calls into DirectWrite.
Pushed by bobowencode@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1e57758d7284
Remove file attribute check in GetFontFileName. r=lsalzman
Comment 3•3 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•