[Webkit-unassigned] [Bug 270332] New: [WPE] WPE Platform: Crashes due to failure to track touch points

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 29 21:40:01 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=270332

            Bug ID: 270332
           Summary: [WPE] WPE Platform: Crashes due to failure to track
                    touch points
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: bugs-noreply at webkitgtk.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240301/42f0202e/attachment.htm>


More information about the webkit-unassigned mailing list