Module: wine Branch: master Commit: eb923466f14cbe758476d58e31f650459cd8b281 URL: https://source.winehq.org/git/wine.git/?a=commit;h=eb923466f14cbe758476d58e3...
Author: Rémi Bernon rbernon@codeweavers.com Date: Mon May 16 11:42:51 2022 +0200
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
---
dlls/winexinput.sys/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winexinput.sys/main.c b/dlls/winexinput.sys/main.c index e0ffb71440f..6d33b740e46 100644 --- a/dlls/winexinput.sys/main.c +++ b/dlls/winexinput.sys/main.c @@ -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;