<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libusbhid/parse.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libusbhid/parse.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libusbhid/parse.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-05T00:51:56Z</updated>
<entry>
<title>HID parser could overflow if a malicious device (potentially USB) provided</title>
<updated>2020-06-05T00:51:56Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-06-05T00:51:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=63aecb600ebe6efccef0aa7c10eeef19f29ed515'/>
<id>urn:sha1:63aecb600ebe6efccef0aa7c10eeef19f29ed515</id>
<content type='text'>
too many PUSH. report from Andy Nguyen @ google.
fix by jcs

from kernel hid.c rev 1.3
</content>
</entry>
<entry>
<title>Return the correct report ID when hitting a "collection" item.</title>
<updated>2015-02-04T00:43:45Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-02-04T00:43:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=95fec9d123395cc3e5e0873d34a5d401b7a4d311'/>
<id>urn:sha1:95fec9d123395cc3e5e0873d34a5d401b7a4d311</id>
<content type='text'>
Collection are reported before their corresponding report ID, so bring
back the trick from old parser and do not return them until we find a
report ID or another start or end of collection.

Fix a regression introduced by last parser backport from FreeBSD
reported by Benjamin Baier, thanks!
</content>
</entry>
<entry>
<title>Do not calculated the length of a report with an extra byte for the</title>
<updated>2015-01-18T17:16:06Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2015-01-18T17:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4e4160e6db62cab6d3079af8e5b10a10fc367d4b'/>
<id>urn:sha1:4e4160e6db62cab6d3079af8e5b10a10fc367d4b</id>
<content type='text'>
reportID because the kernel skips it.

Problem reported and fix tested by Benjamin Baier.
</content>
</entry>
<entry>
<title>Keep libusbhid's HID parser in sync with the kernel one.  This is mostly</title>
<updated>2014-05-12T17:03:28Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2014-05-12T17:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b3eedbb43cf389bcbf1399bd986672333cb880ec'/>
<id>urn:sha1:b3eedbb43cf389bcbf1399bd986672333cb880ec</id>
<content type='text'>
a backport from FreeBSD's r205728, r224511 and 225839 without the new
functions to set/get a report ID nor the usbhidctl(1) &amp; usbhidaction(1)
bits.

Committing now to open the "Monday's Bump Parade".
</content>
</entry>
<entry>
<title>use calloc. from Peter Malone</title>
<updated>2014-05-07T01:14:21Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-05-07T01:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ee353af9ca6a214d130ac4c31183f294949ab49a'/>
<id>urn:sha1:ee353af9ca6a214d130ac4c31183f294949ab49a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>revert previous, it was hardly tested and is causing too many issues too close to release.</title>
<updated>2012-07-16T19:57:17Z</updated>
<author>
<name>jasper</name>
<email>jasper@openbsd.org</email>
</author>
<published>2012-07-16T19:57:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=674f1e1f723fdea645c268017ff0e0c142f1b64e'/>
<id>urn:sha1:674f1e1f723fdea645c268017ff0e0c142f1b64e</id>
<content type='text'>
as discussed with and ok mpi@ deraadt@
</content>
</entry>
<entry>
<title>- port multiple report ID support for HID parser from FreeBSD code</title>
<updated>2012-07-11T13:43:54Z</updated>
<author>
<name>yuo</name>
<email>yuo@openbsd.org</email>
</author>
<published>2012-07-11T13:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b8cf20d4341d3744d6f105dda36f8b159827ce0'/>
<id>urn:sha1:9b8cf20d4341d3744d6f105dda36f8b159827ce0</id>
<content type='text'>
 (rev. 205728, 224511 and 225839)

- add hid_get_report_id(3) to get id of a descriptor.

- crank the major in shlib_version 3.0 -&gt; 4.0

ok deraadt@, mpi@
</content>
</entry>
<entry>
<title>From NetBSD rev 1.5</title>
<updated>2009-07-24T11:41:15Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2009-07-24T11:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=939a6d42d86cfca2666dfb5324b6701308f69406'/>
<id>urn:sha1:939a6d42d86cfca2666dfb5324b6701308f69406</id>
<content type='text'>
The report size is not a local item, so don't clear it when clearing local items.
</content>
</entry>
<entry>
<title>Global Item #3 should be Physical Minimum not Maximum according</title>
<updated>2009-07-24T08:37:47Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2009-07-24T08:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=12c240a5e6366e7c073fb19d0cfcfd08ec645a29'/>
<id>urn:sha1:12c240a5e6366e7c073fb19d0cfcfd08ec645a29</id>
<content type='text'>
to the HID spec.

From FreeBSD hid.c rev 1.31
</content>
</entry>
<entry>
<title>knf + new interface: hid_start() is non-exit non-stderr spewing version of hid_init(); ok matthieu millert</title>
<updated>2004-06-04T00:47:32Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2004-06-04T00:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=78e5c336378f2be0f025a901b0d21757cff7f56e'/>
<id>urn:sha1:78e5c336378f2be0f025a901b0d21757cff7f56e</id>
<content type='text'>
</content>
</entry>
</feed>
