C language function:GetLengthSid sample codes

Search sample code in the internet.It is the result.


TITLE : Malware Forensics - Malware Analystfs Cookbook and DVD: Tools and Techniques for Fighting Malicious Code (2011)
nAclLength = GetLengthSid(pEveryoneSID) + 16;.......
http://apprize.info/security/web_1/34.html


TITLE : Bug ID: JDK-6837842 JNI_CreateJavaVM crashes under impersonation
newACLsize += GetLengthSid(aces[i].pSid);.......
http://bugs.java.com/view_bug.do@bug_id=6837842
TITLE : Bug ID: JDK-6837842 JNI_CreateJavaVM crashes under impersonation
When a non-admin impersonated user calls JNI_CreateJavaVM, crash happens because the pSid of the first element of aces[] array is 0 and without checking for a 0 value we are calling GetLengthSid() and that crashes........
http://bugs.java.com/view_bug.do@bug_id=6837842
TITLE : GINATv
CopySid(GetLengthSid(pLogonSid), pLogonSid, pTokenGroups->Groups[i].Sid);.......
http://eternalwindows.jp/security/gina/gina18.html
TITLE : Integrity Levels - Writing Secure Code for Windows Vista (Best Practices (Microsoft))
sizeof(TOKEN_MANDATORY_LABEL) + GetLengthSid(pIntegritySid))) {.......
http://flylib.com/books/en/1.286.1.27/1/
TITLE : ISAPI: Memory Mapped Files - FileNotFoundException : The Official Microsoft IIS Forums
lACLSize += ( ::GetLengthSid( m_pEveryoneSid ) * 2 );.......
http://forums.iis.net/t/1175211.aspx@ISAPI+Memory+Mapped+Files+FileNotFoundException
TITLE : Windows-driver-samples/HelperFunctions_CommandLine.cpp at master Microsoft/Windows-driver-samples GitHub
UINT32 aclLength = sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE) + (GetLengthSid(pAppContainerSID) - sizeof(UINT32));.......
http://github.com/Microsoft/Windows-driver-samples/blob/master/network/trans/WFPSampler/exe/HelperFunctions_CommandLine.cpp
TITLE : Windows-driver-samples/HelperFunctions_CommandLine.cpp at master Microsoft/Windows-driver-samples GitHub
sidSize = GetLengthSid(pSID);.......
http://github.com/Microsoft/Windows-driver-samples/blob/master/network/trans/WFPSampler/exe/HelperFunctions_CommandLine.cpp
TITLE : windows - GoDoc
* func GetLengthSid(sid *SID) (len uint32).......
http://godoc.org/golang.org/x/sys/windows
TITLE : windows - GoDoc
func GetLengthSid(sid *SID) (len uint32).......
http://godoc.org/golang.org/x/sys/windows
TITLE : WinApi
tui DWORD GetLengthSid(_In_ PSID pSid).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm
TITLE : Understanding and Working in Protected Mode Internet Explorer - Browser Forensics - Knowledge Base
sizeof(TOKEN_MANDATORY_LABEL) + GetLengthSid(pIntegritySid))).......
http://kb.digital-detective.net/display/BF/Understanding+and+Working+in+Protected+Mode+Internet+Explorer
TITLE : GetLengthSid function (Windows)
DWORD WINAPI GetLengthSid(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa446642(v=vs.85).aspx
TITLE : C-C++ Code Example: Creating a Security Descriptor
cbDacl += GetLengthSid(pTokenUser->User.Sid);.......
http://msdn.microsoft.com/ja-jp/library/ms707085(v=vs.85).aspx
TITLE : C-C++ Code Example: Creating a Security Descriptor
cbDacl += GetLengthSid(pEveryoneSid);.......
http://msdn.microsoft.com/ja-jp/library/ms707085(v=vs.85).aspx
TITLE : C-C++ Code Example: Creating a Security Descriptor
cbDacl += GetLengthSid(pTrustedUserSid);.......
http://msdn.microsoft.com/ja-jp/library/ms707085(v=vs.85).aspx
search Google

https://www.google.com/#q=GetLengthSid