[PATCH 4/4] hidclass.sys: Always read InputReportByteLength bytes when not polling.

Rémi Bernon rbernon at codeweavers.com
Wed Jan 12 10:15:35 CST 2022


On 1/12/22 16:28, Rémi Bernon wrote:
> -static struct hid_report *hid_report_create( HID_XFER_PACKET *packet )
> +static struct hid_report *hid_report_create( HID_XFER_PACKET *packet, ULONG length )
>   {
>       struct hid_report *report;
>   
>       if (!(report = malloc( offsetof( struct hid_report, buffer[packet->reportBufferLen] ) )))

I missed this one, should probably be length too, sorry.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list