Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xinput
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • app
  • xinput
  • Merge requests
  • !4
The source project of this merge request has been removed.

Add argc checks to delete-prop

Closed Ben Kallus requested to merge (removed):master into master Jan 14, 2022
  • Overview 0
  • Pipelines 0
  • Changes 1

xinput --delete-prop with no arguments, or with a valid device argument and no property argument causes xinput to segfault. Adds a check to make sure argc is big enough and errors out if not.

Signed-off-by: Ben Kallus benjamin.p.kallus.gr@dartmouth.edu

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master