Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ab6df634
Commit
ab6df634
authored
Aug 17, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64win: Fix handling NULL input32 in NtUserSendInput.
parent
7bc4ca5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
user.c
dlls/wow64win/user.c
+7
-1
No files found.
dlls/wow64win/user.c
View file @
ab6df634
...
...
@@ -3222,12 +3222,18 @@ NTSTATUS WINAPI wow64_NtUserSendInput( UINT *args )
INPUT
*
inputs
=
NULL
;
unsigned
int
i
;
if
(
size
!=
sizeof
(
*
inputs32
))
if
(
size
!=
sizeof
(
*
inputs32
)
||
!
count
)
{
set_last_error32
(
ERROR_INVALID_PARAMETER
);
return
0
;
}
if
(
!
inputs32
)
{
set_last_error32
(
ERROR_NOACCESS
);
return
0
;
}
if
(
count
&&
!
(
inputs
=
Wow64AllocateTemp
(
count
*
sizeof
(
*
inputs
)
)))
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment