Rob Shearman : ws2_32: Initialise buffer eventually passed into send to zero in test_write_events .
Alexandre Julliard
julliard at winehq.org
Tue Dec 1 09:19:44 CST 2009
Module: wine
Branch: master
Commit: 0d10ddd4d54e5094d9fddce90b937a72a7b04078
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d10ddd4d54e5094d9fddce90b937a72a7b04078
Author: Rob Shearman <robertshearman at gmail.com>
Date: Tue Dec 1 13:14:06 2009 +0000
ws2_32: Initialise buffer eventually passed into send to zero in test_write_events.
---
dlls/ws2_32/tests/sock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index c17b894..fbe55f6 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -2589,7 +2589,7 @@ static void test_write_events(void)
goto end;
}
- buffer = HeapAlloc(GetProcessHeap(), 0, bufferSize);
+ buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bufferSize);
if (buffer == NULL)
{
ok(0, "could not allocate memory for test\n");
More information about the wine-cvs
mailing list