NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/51754: "usbhidaction -v" reports configuration incorrectly
>Number: 51754
>Category: bin
>Synopsis: "usbhidaction -v" reports configuration incorrectly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 30 11:10:00 +0000 2016
>Originator: Charlotte Koch
>Release: 7.99.52
>Organization:
>Environment:
NetBSD sakuracity 7.99.52 NetBSD 7.99.52 (CHARLOTTE) #0: Fri Dec 23 12:03:14 PST 2016 charlotte@sakuracity:/home/charlotte/devel/netbsd/sys/arch/amd64/compile/obj/CHARLOTTE amd64
>Description:
usbhidaction(1) accepts a configuration with the "-c" flag. If you run it with the "-v" flag it basically reports this configuration before running in earnest.
The issue is that if the configuration contains a wildcard character ('*'), then "usbhidaction -v" reports it as a "0", which is incorrect because "0" is actually a totally valid number otherwise.
In other words, "usbhidaction -v" should show a "*" wherever a "*" appears in the configuration, not make up a number.
>How-To-Repeat:
Simply run usbhidaction in verbose mode with a configuration which features a "*" in place of a numerical value.
>Fix:
A proposed patch is available at https://github.com/christiank/src/commit/86c94d7f62d727e4c78478cf1fc4d026a13feca2
Home |
Main Index |
Thread Index |
Old Index