mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user