[Bug 282790] hidraw(4) - Regression in documented behavior of HIDRAW_GET_REPORT.
Date: Sun, 17 Nov 2024 11:31:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282790 --- Comment #2 from Vladimir Kondratyev <wulf@freebsd.org> --- That is certainly a bug. Thank you for the report. These patches require some changes: In uhid.c ugd->ugd_actlen should be equal to imin(ugd->ugd_maxlen, size) rather than size In hidraw.c ugd->ugd_actlen should be taken from 4th parameter of preceding hid_get_report() call. -- You are receiving this mail because: You are the assignee for the bug.