Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gabriel Ivăncescu
wine
Commits
647e20a9
Commit
647e20a9
authored
2 years ago
by
Rémi Bernon
Committed by
Alexandre Julliard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
win32u: Initialize IO_STATUS_BLOCK in rawinput add_device.
To avoid invalid writes on WOW64 Nt calls.
parent
ec5d9f64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/win32u/rawinput.c
+1
-1
1 addition, 1 deletion
dlls/win32u/rawinput.c
with
1 addition
and
1 deletion
dlls/win32u/rawinput.c
+
1
−
1
View file @
647e20a9
...
...
@@ -218,11 +218,11 @@ static struct device *add_device( HKEY key, DWORD type )
static
const
RID_DEVICE_INFO_MOUSE
mouse_info
=
{
1
,
5
,
0
,
FALSE
};
struct
hid_preparsed_data
*
preparsed
=
NULL
;
HID_COLLECTION_INFORMATION
hid_info
;
IO_STATUS_BLOCK
io
=
{{
0
}};
OBJECT_ATTRIBUTES
attr
;
UNICODE_STRING
string
;
struct
device
*
device
;
RID_DEVICE_INFO
info
;
IO_STATUS_BLOCK
io
;
unsigned
int
status
;
UINT32
handle
;
void
*
buffer
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment