summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/manpath.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-02-10 14:35:08 +0000
committerpatrick <patrick@openbsd.org>2020-02-10 14:35:08 +0000
commit8945acc287c32d5270939c2b49dfd9022ee4fdd4 (patch)
tree16f1983fa69db7f5cd48d7871d3e0993a9b0df50 /usr.bin/mandoc/manpath.c
parentFor compatibility with the man(1) implementations of the man-1.6 (diff)
downloadwireguard-openbsd-8945acc287c32d5270939c2b49dfd9022ee4fdd4.tar.xz
wireguard-openbsd-8945acc287c32d5270939c2b49dfd9022ee4fdd4.zip
When walking the HID descriptor, even though we filter for hid_input
we will get hid_collection and hid_endcollection items. Since hid_ endcollection apparently returns the usage of the previous item, it was possible that we "see" two items for the same usage. Make sure that we only accept hid_input items. Both hidms and hidkbd do some- thing similar, fixes the Pinebook Pro's trackpad. ok kettenis@
Diffstat (limited to 'usr.bin/mandoc/manpath.c')
0 files changed, 0 insertions, 0 deletions