[Bug 282790] hidraw(4) - Regression in documented behavior of HIDRAW_GET_REPORT.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Nov 2024 04:32:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282790

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=0b5d86b38ae9aec92ef96b9227a404a2df3c9234

commit 0b5d86b38ae9aec92ef96b9227a404a2df3c9234
Author:     Matthew Nygard Dodd <Matthew.Nygard.Dodd@gmail.com>
AuthorDate: 2024-11-18 04:15:01 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-11-18 04:31:24 +0000

    uhid(4): update ugd_actlen in USB_GET_REPORT ioctl

    USB_GET_REPORT ioctl is documented to update ugd_actlen on return with
    the number of bytes copied.  It does not do this.

    Reviewed by:    wulf
    PR:             282790
    MFC after:      1 week

 sys/dev/usb/input/uhid.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.