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

Support wl_seat v7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.3
    • 6.2.0 Beta3
    • QPA: Wayland
    • 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

        Issue Links

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

          Activity

            People

              davidedmundson David Edmundson
              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