- Fix a bug resulting in a write to an uninitialized address (coincidently located somewhere in the middle of another heap allocation) and later heapfreeing it. WaitNamedPipeA() was the affected function (results were visible when e.g. starting Office 2003 installer).

svn path=/trunk/; revision=33328
This commit is contained in:
Aleksey Bragin
2008-05-06 18:11:41 +00:00
parent 592dd734e8
commit a64e1e81c5
+1 -1
View File
@@ -250,7 +250,7 @@ WaitNamedPipeA(LPCSTR lpNamedPipeName,
UNICODE_STRING NameU;
/* Convert the name to Unicode */
Basep8BitStringToLiveUnicodeString(&NameU, lpNamedPipeName);
Basep8BitStringToHeapUnicodeString(&NameU, lpNamedPipeName);
/* Call the Unicode API */
r = WaitNamedPipeW(NameU.Buffer, nTimeOut);