winexinput.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-05-16 11:42:51 +02:00 committed by Alexandre Julliard
parent b83f97dffc
commit eb923466f1
1 changed files with 1 additions and 1 deletions

View File

@ -645,9 +645,9 @@ static NTSTATUS initialize_device(DEVICE_OBJECT *device)
PHIDP_REPORT_DESCRIPTOR report_desc;
PHIDP_PREPARSED_DATA preparsed;
HIDP_BUTTON_CAPS *button_caps;
HID_DESCRIPTOR hid_desc = {0};
HIDP_VALUE_CAPS *value_caps;
HIDP_REPORT_IDS *reports;
HID_DESCRIPTOR hid_desc;
NTSTATUS status;
HIDP_CAPS caps;