Home | History | Annotate | Download | only in libusbhid
History log of /src/lib/libusbhid/parse.c
RevisionDateAuthorComments
 1.11  04-Apr-2020  fox 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@
 1.10  10-Dec-2017  bouyer branches: 1.10.4;
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
 1.9  07-Jan-2016  jakllsch Don't crash when the device's HID Report Descriptor Pops from an empty stack.
 1.8  23-May-2011  joerg Remove pointless self-assignment
 1.7  13-Aug-2010  jakllsch Improve usbhid(3) descriptor/report parsing:
Handle signed Physical Minimums
Handle signed Unit Exponents
 1.6  05-Jan-2010  jakllsch Fix copy-paste-o. Per the HID spec, Global Item Tag 0b001101nn is
Physical Minimum, not a alias for Physical Maximum.
 1.5  05-Jan-2004  augustss The report size is not a local item, so don't clear it when clearing local items.
 1.4  26-Jul-2003  salo netbsd.org->NetBSD.org
 1.3  08-Mar-2003  lukem add RCSID
 1.2  29-Dec-2001  augustss Fix a size calculation bug.
 1.1  28-Dec-2001  augustss Update for uhidev(4) changes.
Also rename libusb to libusbhid (which is a much better name).
 1.10.4.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed