History log of /netbsd-src/lib/libusbhid/parse.c (Results 1 – 11 of 11)
Revision Date Author Comments
# a4861c96 04-Apr-2020 fox <fox@NetBSD.org>

lib/libusbhid: Fix possible left shift changes signedness bit.

This bug was reported by UBSan runs.

lib/libusbhid/parse.c:246:20

Can result in left shift changes signedness bit as a side effect po

lib/libusbhid: Fix possible left shift changes signedness bit.

This bug was reported by UBSan runs.

lib/libusbhid/parse.c:246:20

Can result in left shift changes signedness bit as a side effect positive number
can go negative, cast it to unsigned for the operation and silence the issue.

Reviewed by: kamil@

show more ...


# 878cb1cf 10-Dec-2017 bouyer <bouyer@NetBSD.org>

Fix fallout from hid factorisation:
- need to install sys/dev/hid/hid.h for userland
- include it where needed - most of the time in place if usb/usbhid.h


# f9e98a93 07-Jan-2016 jakllsch <jakllsch@NetBSD.org>

Don't crash when the device's HID Report Descriptor Pops from an empty stack.


# afa03266 23-May-2011 joerg <joerg@NetBSD.org>

Remove pointless self-assignment


# e4328754 13-Aug-2010 jakllsch <jakllsch@NetBSD.org>

Improve usbhid(3) descriptor/report parsing:
Handle signed Physical Minimums
Handle signed Unit Exponents


# ec1d44ba 05-Jan-2010 jakllsch <jakllsch@NetBSD.org>

Fix copy-paste-o. Per the HID spec, Global Item Tag 0b001101nn is
Physical Minimum, not a alias for Physical Maximum.


# a6cfb45c 05-Jan-2004 augustss <augustss@NetBSD.org>

The report size is not a local item, so don't clear it when clearing local items.


# 99410184 26-Jul-2003 salo <salo@NetBSD.org>

netbsd.org->NetBSD.org


# e2d78706 08-Mar-2003 lukem <lukem@NetBSD.org>

add RCSID


# dbe9bd1e 29-Dec-2001 augustss <augustss@NetBSD.org>

Fix a size calculation bug.


# 8ac1932e 28-Dec-2001 augustss <augustss@NetBSD.org>

Update for uhidev(4) changes.
Also rename libusb to libusbhid (which is a much better name).