1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/lib/libusbhid
Hans Petter Selasky eff8154913 USB HID descriptors may push/pop the current state to allow
description of items residing in a so-called union. FreeBSD currently
only supports 4 such pop levels.

If the push level is not restored within the processing of the same
HID item, an invalid memory location may be used for subsequent HID
item processing.

Verify that the push level is always valid when processing HID items.

Reported by:	Andy Nguyen (Google)
MFC after:	3 days
Sponsored by:	Mellanox Technologies
2020-06-05 07:57:16 +00:00
..
data.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
descr_compat.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
descr.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
Makefile pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
parse.c USB HID descriptors may push/pop the current state to allow 2020-06-05 07:57:16 +00:00
usage.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
usbhid.3 Restore handling of the third argument (id) of hid_start_parse(), same as 2012-09-20 18:56:27 +00:00
usbhid.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
usbvar.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00