RESOLVED FIXED214825
Remember to check entitlement before communicating over XPC
https://bugs.webkit.org/show_bug.cgi?id=214825
Summary Remember to check entitlement before communicating over XPC
Per Arne Vollan
Reported 2020-07-27 06:47:07 PDT
Remember to check entitlement before communicating over XPC with another WebKit process. This needs to be done to make sure that it really is a WebKit process on the other end.
Attachments
Patch (2.81 KB, patch)
2020-07-27 06:52 PDT, Per Arne Vollan
no flags
Patch (3.66 KB, patch)
2020-07-28 09:36 PDT, Per Arne Vollan
no flags
Patch (4.34 KB, patch)
2020-07-28 14:01 PDT, Per Arne Vollan
no flags
Patch (5.93 KB, patch)
2020-07-29 06:27 PDT, Per Arne Vollan
bfulgham: review+
Patch (6.01 KB, patch)
2020-07-30 07:22 PDT, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2020-07-27 06:52:54 PDT
Per Arne Vollan
Comment 2 2020-07-28 09:36:53 PDT
Per Arne Vollan
Comment 3 2020-07-28 09:37:14 PDT
Thanks for reviewing!
Per Arne Vollan
Comment 4 2020-07-28 14:01:33 PDT
Per Arne Vollan
Comment 5 2020-07-29 06:27:30 PDT
Brent Fulgham
Comment 6 2020-07-29 08:33:13 PDT
Comment on attachment 405453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=405453&action=review R=me > Source/WebKit/Shared/Cocoa/XPCEndpoint.mm:47 > + WTFLogAlways("Audit token does not have required entitlement"); Should we just say what entitlement in the error message?
Per Arne Vollan
Comment 7 2020-07-30 07:22:59 PDT
Per Arne Vollan
Comment 8 2020-07-30 07:23:28 PDT
(In reply to Brent Fulgham from comment #6) > Comment on attachment 405453 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=405453&action=review > > R=me > > > Source/WebKit/Shared/Cocoa/XPCEndpoint.mm:47 > > + WTFLogAlways("Audit token does not have required entitlement"); > > Should we just say what entitlement in the error message? Fixed. Thanks for reviewing!
EWS
Comment 9 2020-07-30 09:36:34 PDT
Committed r265087: <https://trac.webkit.org/changeset/265087> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405569 [details].
Radar WebKit Bug Importer
Comment 10 2020-07-30 09:37:18 PDT
Note You need to log in before you can comment on or make changes to this bug.