That prevents it from being used to pivot UAF on malloc memory into corruption in the JS heap.
Created attachment 335121 [details] the patch
Comment on attachment 335121 [details] the patch r=me
Comment on attachment 335121 [details] the patch Attachment 335121 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/6829888 Number of test failures exceeded the failure limit.
Created attachment 335129 [details] Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Comment on attachment 335121 [details] the patch Attachment 335121 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/6830043 Number of test failures exceeded the failure limit.
Created attachment 335131 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Created attachment 335139 [details] patch for landing Pretty sure I fixed all crashes.
Landed in https://trac.webkit.org/changeset/229366/webkit
<rdar://problem/38225773>