Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96259

Support wl_seat v7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 Beta3
    • Fix Version/s: 6.3
    • Component/s: QPA: Wayland
    • Labels:
      None

      Description

      wl_seat v7 only changes the following:

       

      wl_keyboard::keymap

      `From version 7 onwards, the fd must be mapped with MAP_PRIVATE by the recipient, as MAP_SHARED may fail.`

       

      We have char *map_str = static_cast<char *>(mmap(nullptr, size, PROT_READ, MAP_SHARED, fd, 0));

       

      Presumably because of that keymap CVE from a few years ago, I believe it should be safe to change even on old versions.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            davidedmundson David Edmundson
            Reporter:
            davidedmundson David Edmundson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes