[Webkit-unassigned] [Bug 183275] Safari uses WebContent.Development when loading injected bundle embedded in its app bundle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 1 23:19:11 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=183275

--- Comment #4 from mitz at webkit.org ---
Comment on attachment 334881
  --> https://bugs.webkit.org/attachment.cgi?id=334881
Never allow non-valid injected code into a Web Content process serving a platform binary

View in context: https://bugs.webkit.org/attachment.cgi?id=334881&action=review

> Source/WebKit/UIProcess/mac/WebProcessProxyMac.mm:59
> +    static bool isPlatformBinary = [] {
> +        return SecTaskGetCodeSignStatus(adoptCF(SecTaskCreateFromSelf(kCFAllocatorDefault)).get()) & CS_PLATFORM_BINARY;
> +    }();

Tim pointed out the silliness in using a lambda here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180302/f6a43864/attachment.html>


More information about the webkit-unassigned mailing list