Received: by mail.netbsd.org (Postfix, from userid 605) id E8CCB84FE6; Mon, 28 Mar 2022 12:53:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EAAA484F53 for ; Mon, 28 Mar 2022 12:44:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id dXmLfdCJR-zM for ; Mon, 28 Mar 2022 12:44:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8BCD484F4E for ; Mon, 28 Mar 2022 12:44:37 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 88A28FB24; Mon, 28 Mar 2022 12:44:37 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 28 Mar 2022 12:44:37 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220328124437.88A28FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Mon Mar 28 12:44:37 UTC 2022 Modified Files: src/sys/dev/usb: uhidev.c uhidev.h Log Message: uhidev(9): Define UHIDEV_MAXREPID = 255. Report ids are limited by the HID spec to a single byte. - Clamp max report id in report descriptor to this. - Prune dead refcnt-overflow error branches. Assert instead. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/dev/usb/uhidev.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/uhidev.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.