Branch: refs/heads/webkitglib/2.50
  Home:   https://github.com/WebKit/WebKit
  Commit: 37071b7dadeaececdd4bff5bb1c96433afbb531b
      
https://github.com/WebKit/WebKit/commit/37071b7dadeaececdd4bff5bb1c96433afbb531b
  Author: Simon Pena <[email protected]>
  Date:   2026-03-16 (Mon, 16 Mar 2026)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/wayland/WPEInputMethodContextWaylandV1.cpp

  Log Message:
  -----------
  Cherry-pick 309327@main (abaf97d89d1a). 
https://bugs.webkit.org/show_bug.cgi?id=309772

    [WPE][WPEPlatform] Out-of-bounds read in keysymModifiersGetMask when 
modifier name is not found
    https://bugs.webkit.org/show_bug.cgi?id=309772

    Reviewed by Adrian Perez de Castro and Claudio Saavedra.

    When iterating through the entries in map->data, the loop termination
    condition compares the current pointer p with p + map->size, which will
    always be true. As a consequence, p will eventually go beyond its bounds
    when we do `p += strlen(p) + 1;`.

    This rewrites keysymModifiersGetMask using StringView::split('\0') to
    iterate null-sparated modifier names in the wl_array.

    * Source/WebKit/WPEPlatform/wpe/wayland/WPEInputMethodContextWaylandV1.cpp:
    (keysymModifiersGetMask):

    Canonical link: https://commits.webkit.org/309327@main

Canonical link: https://commits.webkit.org/298234.501@webkitglib/2.50



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to