Mike Kaplinskiy : ws2_32: Fix a bad pointer crash.
Alexandre Julliard
julliard at winehq.org
Mon Aug 16 12:25:05 CDT 2010
Module: wine
Branch: master
Commit: 50ef3a20187ec5f3961a9327b281ea9fa3dece63
URL: http://source.winehq.org/git/wine.git/?a=commit;h=50ef3a20187ec5f3961a9327b281ea9fa3dece63
Author: Mike Kaplinskiy <mike.kaplinskiy at gmail.com>
Date: Sat Aug 14 20:11:10 2010 -0400
ws2_32: Fix a bad pointer crash.
---
dlls/ws2_32/socket.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 39c1d2a..c226fda 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -1966,6 +1966,7 @@ static BOOL WINAPI WS2_ConnectEx(SOCKET s, const struct WS_sockaddr* name, int n
wsa->flags = 0;
wsa->n_iovecs = sendBuf ? 1 : 0;
wsa->first_iovec = 0;
+ wsa->completion_func = NULL;
wsa->iovec[0].iov_base = sendBuf;
wsa->iovec[0].iov_len = sendBufLen;
More information about the wine-cvs
mailing list