| Summary: | Code inside strength reduction can incorrectly prove that we know what lastIndex is | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Lukas Bernhard <lukas.bernhard> | ||||
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, ews-watchlist, keith_miller, mark.lam, msaboff, product-security, saam, tzagallo, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Local Build | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Lukas Bernhard
2021-09-26 01:54:26 PDT
Thanks, this is a great bug. If the RegExp node is a constant, we can't claim that we know what lastIndex is if we don't see a SetRegExpObjectLastIndex node. *** Bug 230934 has been marked as a duplicate of this bug. *** Created attachment 439562 [details]
patch
Comment on attachment 439562 [details]
patch
r=me
Committed r283232 (242274@main): <https://commits.webkit.org/242274@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439562 [details]. |