mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- 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:
parent
b87814a4c9
commit
be8a2bb4fb
2 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue