Skip to content

Add argc checks to delete-prop

Ben Kallus requested to merge (removed):master into master

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

Merge request reports