Bug 270332
| Summary: | [WPE] WPE Platform: Crashes due to failure to track touch points | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WPE WebKit | Assignee: | Lauro Moura <lmoura> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lauro Moura
By default, WTF::HashMap disallows 0 (zero) as a valid key, as currently we do in WPEWaylandSeat.h.
This conflicts with using 0 as the ID of the first touchpoint. As such, the current code is treating each event as a new point, filing up the reserved space, leading to crashes.
Also, as we start tracking a point in the down event, we should ignore it after the up event.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/25336
EWS
Committed 275553@main (c79050dd5ea4): <https://commits.webkit.org/275553@main>
Reviewed commits have been landed. Closing PR #25336 and removing active labels.