Module: wine Branch: stable Commit: ba957cd2e4d0b4e06faeb9a822414fc69473ed26 URL: https://source.winehq.org/git/wine.git/?a=commit;h=ba957cd2e4d0b4e06faeb9a82...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Fri Jun 28 05:20:59 2019 +0000
winebus.sys: Increase buffer size to match max length available.
The current buffer is 1024, however the ioctl call can handle a max length of 8191.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47013 Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit 90a1e5d943724f8cb5e51fe806cb38ce6c98c4c1) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/winebus.sys/bus_udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winebus.sys/bus_udev.c b/dlls/winebus.sys/bus_udev.c index 3c89963dcc..6683731181 100644 --- a/dlls/winebus.sys/bus_udev.c +++ b/dlls/winebus.sys/bus_udev.c @@ -862,7 +862,7 @@ static NTSTATUS hidraw_set_feature_report(DEVICE_OBJECT *device, UCHAR id, BYTE int rc; struct platform_private* ext = impl_from_DEVICE_OBJECT(device); BYTE *feature_buffer; - BYTE buffer[1024]; + BYTE buffer[8192];
if (id == 0) {