Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
65dc8e47
Commit
65dc8e47
authored
Dec 29, 2000
by
Rein Klazes
Committed by
Alexandre Julliard
Dec 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test pointer before it is dereferenced in CreateEventW().
parent
c4d11767
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sync.c
dlls/kernel/sync.c
+9
-0
No files found.
dlls/kernel/sync.c
View file @
65dc8e47
...
...
@@ -62,6 +62,15 @@ HANDLE WINAPI CreateEventW( SECURITY_ATTRIBUTES *sa, BOOL manual_reset,
SetLastError
(
ERROR_FILENAME_EXCED_RANGE
);
return
0
;
}
/* one buggy program needs this
* ("Van Dale Groot woordenboek der Nederlandse taal")
*/
if
(
sa
&&
IsBadReadPtr
(
sa
,
sizeof
(
SECURITY_ATTRIBUTES
)))
{
ERR
(
"Bad security attributes pointer %p
\n
"
,
sa
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
0
;
}
SERVER_START_REQ
{
struct
create_event_request
*
req
=
server_alloc_req
(
sizeof
(
*
req
),
len
*
sizeof
(
WCHAR
)
);
...
...
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