projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
781673f
)
[MSAFD] Fix possible memory corruption in WSPIoctl. Brought to you by Andreas Maier...
author
Peter Hater
<7element@mail.bg>
Wed, 9 Nov 2016 12:05:48 +0000
(12:05 +0000)
committer
Peter Hater
<7element@mail.bg>
Wed, 9 Nov 2016 12:05:48 +0000
(12:05 +0000)
CORE-12322
svn path=/trunk/; revision=73177
reactos/dll/win32/msafd/misc/dllmain.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/msafd/misc/dllmain.c
b/reactos/dll/win32/msafd/misc/dllmain.c
index
c8d1480
..
d03d613
100644
(file)
--- a/
reactos/dll/win32/msafd/misc/dllmain.c
+++ b/
reactos/dll/win32/msafd/misc/dllmain.c
@@
-2250,7
+2250,7
@@
WSPIoctl(IN SOCKET Handle,
OUT LPINT lpErrno)
{
PSOCKET_INFORMATION Socket = NULL;
- BOOL
EAN
NeedsCompletion = lpOverlapped != NULL;
+ BOOL NeedsCompletion = lpOverlapped != NULL;
BOOLEAN NonBlocking;
INT Errno = NO_ERROR, Ret = SOCKET_ERROR;
DWORD cbRet = 0;
@@
-2394,7
+2394,7
@@
WSPIoctl(IN SOCKET Handle,
&cbRet,
lpOverlapped,
lpCompletionRoutine,
-
(LPBOOL)
&NeedsCompletion);
+ &NeedsCompletion);
if (Errno == NO_ERROR)
Ret = NO_ERROR;