Bug 309632
| Summary: | Fix iterator invalidation crash in StyleOriginatedTimelinesController::styleableWasRemoved | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | pascoe <pascoe> |
| Component: | Animations | Assignee: | pascoe <pascoe> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | graouts, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=309672 | ||
pascoe@apple.com
attachAnimation() calls setTimeline() → setTimelineInternal() → removeAnimation(*this),
which mutates the ListHashSet being iterated, invalidating the iterator and causing
EXC_BAD_ACCESS when copying the next Ref.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
pascoe@apple.com
rdar://170564381
pascoe@apple.com
Pull request: https://github.com/WebKit/WebKit/pull/60329
pascoe@apple.com
rdar://172219384
EWS
Committed 309061@main (55ffc93c06b7): <https://commits.webkit.org/309061@main>
Reviewed commits have been landed. Closing PR #60329 and removing active labels.
EWS
Committed 305413.493@safari-7624-branch (12ad8ff7bb1a): <https://commits.webkit.org/305413.493@safari-7624-branch>
Reviewed commits have been landed. Closing PR #4670 and removing active labels.