- Temporarily add tracing to ConvertStringSecurityDescriptorToSecurityDescriptorW and LocalAlloc to figure out why the tests crashes on build server -- will be reverted ASAP

svn path=/trunk/; revision=37974
This commit is contained in:
Stefan Ginsberg 2008-12-09 18:04:58 +00:00
parent b87814a4c9
commit be8a2bb4fb
2 changed files with 4 additions and 0 deletions

View file

@ -1288,6 +1288,7 @@ ConvertStringSecurityDescriptorToSecurityDescriptorW(
if (SecurityDescriptorSize)
*SecurityDescriptorSize = relativeSdSize;
*SecurityDescriptor = relativeSd;
if ((ULONG_PTR)relativeSd == 0xC) DbgPrint("ConvertStringSecurityDescriptorToSecurityDescriptorW: relativeSd is 0xC\n");
cleanup:
if (GetSecurityDescriptorOwner(sd, &pSid, &dummy))

View file

@ -52,6 +52,7 @@ LocalAlloc(UINT uFlags,
/* Allocate heap for it */
Ptr = RtlAllocateHeap(hProcessHeap, Flags, dwBytes);
BASE_TRACE_ALLOC2(Ptr);
if ((ULONG_PTR)Ptr == 0xC) DbgPrint("LocalAlloc: Ptr is 0xC\n");
return Ptr;
}
@ -131,10 +132,12 @@ Quickie:
}
/* Set the pointer */
if ((ULONG_PTR)hMemory == 0xC) DbgPrint("LocalAlloc: hMemory is 0xC\n");
Ptr = hMemory;
}
/* Return the pointer */
if ((ULONG_PTR)Ptr == 0xC) DbgPrint("LocalAlloc: Ptr is 0xC\n");
return Ptr;
}