mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +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)
|
if (SecurityDescriptorSize)
|
||||||
*SecurityDescriptorSize = relativeSdSize;
|
*SecurityDescriptorSize = relativeSdSize;
|
||||||
*SecurityDescriptor = relativeSd;
|
*SecurityDescriptor = relativeSd;
|
||||||
|
if ((ULONG_PTR)relativeSd == 0xC) DbgPrint("ConvertStringSecurityDescriptorToSecurityDescriptorW: relativeSd is 0xC\n");
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
if (GetSecurityDescriptorOwner(sd, &pSid, &dummy))
|
if (GetSecurityDescriptorOwner(sd, &pSid, &dummy))
|
||||||
|
|
|
@ -52,6 +52,7 @@ LocalAlloc(UINT uFlags,
|
||||||
/* Allocate heap for it */
|
/* Allocate heap for it */
|
||||||
Ptr = RtlAllocateHeap(hProcessHeap, Flags, dwBytes);
|
Ptr = RtlAllocateHeap(hProcessHeap, Flags, dwBytes);
|
||||||
BASE_TRACE_ALLOC2(Ptr);
|
BASE_TRACE_ALLOC2(Ptr);
|
||||||
|
if ((ULONG_PTR)Ptr == 0xC) DbgPrint("LocalAlloc: Ptr is 0xC\n");
|
||||||
return Ptr;
|
return Ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -131,10 +132,12 @@ Quickie:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the pointer */
|
/* Set the pointer */
|
||||||
|
if ((ULONG_PTR)hMemory == 0xC) DbgPrint("LocalAlloc: hMemory is 0xC\n");
|
||||||
Ptr = hMemory;
|
Ptr = hMemory;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the pointer */
|
/* Return the pointer */
|
||||||
|
if ((ULONG_PTR)Ptr == 0xC) DbgPrint("LocalAlloc: Ptr is 0xC\n");
|
||||||
return Ptr;
|
return Ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue