On Tue Jul 26 18:17:33 2022 +0000, **** wrote:
Zebediah Figura replied on the mailing list:
On 7/26/22 02:30, R��mi Bernon wrote: > From: R��mi Bernon <rbernon@codeweavers.com> > > --- > dlls/dinput/tests/joystick8.c | 11 +++++------ > dlls/win32u/rawinput.c | 12 +++++++++--- > 2 files changed, 14 insertions(+), 9 deletions(-) > Wait, why does this make a difference? _______________________________________________ wine-gitlab mailing list -- wine-gitlab@winehq.org To unsubscribe send an email to wine-gitlab-leave@winehq.org
Because the buffer is checked to be writable by `NtDeviceIoControlFile` and `check_write_access`, using the virtual memory protection info. With unix-allocated memory, its fail and returns invalid buffer status.