Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
xserver
xserver
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 892
    • Issues 892
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 86
    • Merge Requests 86
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • xorg
  • xserverxserver
  • Merge Requests
  • !435

Merged
Opened May 05, 2020 by Olivier Fourdan@ofourdan🛠Maintainer

xwayland: Clear private on device removal

  • Overview 2
  • Commits 1
  • Pipelines 7
  • Changes 1

Xwayland uses the device private to point to the xwl_seat.

Device may be removed at any time, including on suspend.

On resume, if the DIX code ends up calling a function that requires the xwl_seat such as xwl_set_cursor() we may end up pointing at random data.

Make sure the clear the device private data on removal so that we don't try to use it and crash later.

Signed-off-by: Olivier Fourdan ofourdan@redhat.com #709 (closed)

Edited May 05, 2020 by Olivier Fourdan
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: xorg/xserver!435
Source branch: issue709