From nobody Fri Nov 15 23:01:07 2024 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XqsvR7443z5dg2W for ; Fri, 15 Nov 2024 23:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqsvR2GY1z4t19 for ; Fri, 15 Nov 2024 23:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731711667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GRDabcgSscgLg2mDLb2XyPD8bzev0HDbdiMJ8sfx4MA=; b=dQzpzuxO/KGGjLKuPgXJm1E5e8lyC4Zw3z3x0hQTF2DP6/6VvwuM2r9aalaHxhZJDoSAca y2RhCfG/WTLbNo7R+0utFJ66oDTASHfV18WFAzpcWB/2673Ac0ptgAg24iuEil09sjPaG7 dpJLIiFRIx5TysXmFEpEGXRN/+WWYjMP1Dh7ZZEoGVSjhfju+PgBfVg9eYrYacHwRH7vTT HNzN0roucAmg6twDsVJJdoTTx4N0ifHR2CBKfKTr8rVYf+lXFSUs96orXzlNEyPpKRlQWq IfLvjvBxvrxktp485FGp9uIKfAcVXkhk+67g/qYlT1kaBREsLkxLpQqprusymg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731711667; a=rsa-sha256; cv=none; b=tP1CP/Efa+uyQgS9pVzNrmz1KXPIy8nU6d1XZHux91km2XqUX7tTcyiFbyFh+61xcJ+KIj rSBeYwp/d6XZOq+pJWsMYsbjyzrKd/8qYYIAXx+mjTUfUis6s46InOCLPCYmDs1iF/OPqa ezeEnicVjKVOYHUU12FSBmb56nLuUtp4lb+mzvzFvdHWZZqc3Bm7/YPfsuQ/JXxqW61iWf LKJ2iSwu/CrOcG1OwAeIC/kP36md4hrY9oAvoaBV7lP6EnSOzqE+pABezzN36tOqAcLVcd WiR5J1xCqVYrvavDKxWO+txTCIPXzMUdrlrHJ+WQ42vVfsChrmxQcza/OmF8SQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XqsvR1syjzj3l for ; Fri, 15 Nov 2024 23:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AFN17if063157 for ; Fri, 15 Nov 2024 23:01:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AFN17YX063156 for usb@FreeBSD.org; Fri, 15 Nov 2024 23:01:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 282790] hidraw(4) - Regression in documented behavior of HIDRAW_GET_REPORT. Date: Fri, 15 Nov 2024 23:01:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Matthew.Nygard.Dodd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282790 Bug ID: 282790 Summary: hidraw(4) - Regression in documented behavior of HIDRAW_GET_REPORT. Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: Matthew.Nygard.Dodd@gmail.com Created attachment 255207 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255207&action= =3Dedit Patch to hidraw.c correcting the defect. hidraw(4) HIDRAW_GET_REPORT is documented to update hgd_actlen on return wi= th the number of bytes copied. It does not do this. --=20 You are receiving this mail because: You are the assignee for the bug.=