| Summary: | Harden setPrototypeOf(). | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | saam, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Mark Lam
2022-04-17 14:42:53 PDT
Created attachment 457778 [details]
patch for landing.
Landed in r292950: <http://trac.webkit.org/r292950>. Comment on attachment 457778 [details] patch for landing. View in context: https://bugs.webkit.org/attachment.cgi?id=457778&action=review > Source/JavaScriptCore/runtime/JSObject.cpp:1881 > + else if (UNLIKELY(!prototype.isNull())) // Conservative hardening. > + return; should the above just be a release assert and we can remove this? |