RESOLVED FIXED287319
[JSC] Crash in `Array#indexOf` when searching for string values in an `ArrayWithContiguous` that contains non-cell values
https://bugs.webkit.org/show_bug.cgi?id=287319
Summary [JSC] Crash in `Array#indexOf` when searching for string values in an `ArrayW...
Sosuke Suzuki
Reported 2025-02-07 21:02:40 PST
We merged a patch[1] that optimized `Array#indexOf` for arrays containing 8-bit strings. As a result of that change, searching for a string in an `ArrayWithContiguous` array started causing crashes. This patch changes to fix it. [1]: https://commits.webkit.org/289780@main
Attachments
Sosuke Suzuki
Comment 1 2025-02-07 21:04:24 PST
EWS
Comment 2 2025-02-09 18:04:51 PST
Committed 290136@main (e470f352d9ce): <https://commits.webkit.org/290136@main> Reviewed commits have been landed. Closing PR #40273 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-02-09 18:05:16 PST
Mark Lam
Comment 4 2025-02-10 17:39:19 PST
*** Bug 287096 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.