Closed
Bug 795061
Opened 13 years ago
Closed 13 years ago
AssertAppProcessPermission: Kill any process that doesn't have the specified permission, not just app processes
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: philikon, Assigned: philikon)
References
Details
Attachments
(1 file)
|
5.03 KB,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
Bug 776850 got the logic slightly wrong. We bail out of AssertAppProcessPermission if we can't find an app associated with a process (which would be the case for regular <iframe mozbrowser> or <browser> elements), so we never end up killing it.
Kill kill kill them all.
| Assignee | ||
Comment 1•13 years ago
|
||
Needs to block. Don't want pwned phone.
Assignee: nobody → philipp
blocking-basecamp: --- → ?
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #665808 -
Flags: review?(jones.chris.g)
Comment on attachment 665808 [details] [diff] [review]
v1
>diff --git a/dom/ipc/AppProcessPermissions.cpp b/dom/ipc/AppProcessPermissions.cpp
>+ if (!hasPermission) {
>+ printf_stderr("Security problem: App process does not have `%s' permission. It will be killed.\n", aPermission);
s/App/Content/
Attachment #665808 -
Flags: review?(jones.chris.g) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Target Milestone: --- → mozilla18
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•