[Webkit-unassigned] [Bug 210304] New: Do more checking before reusing precompiled sandbox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 9 14:01:38 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=210304
Bug ID: 210304
Summary: Do more checking before reusing precompiled sandbox
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bfulgham at webkit.org
We recently discovered that the system sandbox framework version does not always change when breaking changes in the sandbox format are made. This can lead to the precompiled version of a sandbox not working properly when a sandbox version changes.
To guard against this, make the following changes:
1. Compare the SANDBOX_BUILD_ID in place when the sandbox was compiled to the value on the current system. SANDBOX_BUILD_ID, which is a GUID, is always regenerated when the sandbox framework is rebuilt.
2. Compare the OS version in place when the sandbox was compiled to the value on the current system. This will trigger us recompiling sandboxes even when the sandbox framework did not change, but this is a small performance cost that would only happen after a software update.
--
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/20200409/5a3a4853/attachment.htm>
More information about the webkit-unassigned
mailing list