Rémi Bernon : winexinput.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.
Alexandre Julliard
julliard at winehq.org
Mon May 16 15:37:58 CDT 2022
Module: wine
Branch: master
Commit: eb923466f14cbe758476d58e31f650459cd8b281
URL: https://source.winehq.org/git/wine.git/?a=commit;h=eb923466f14cbe758476d58e31f650459cd8b281
Author: Rémi Bernon <rbernon at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list