http://bugs.winehq.org/show_bug.cgi?id=33970
Bug #: 33970 Summary: GetSecurityInfo success, but DACL pointer is NULL Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: elhana@sigil-guild.org Classification: Unclassified
GetSecurityInfo(GetCurrentProcess(), SE_KERNEL_OBJECT, DACL_SECURITY_INFORMATION, 0, 0, &ppDacl, 0, &ppSecurityDescriptor) returns ERROR_SUCCESS, but ppDacl is NULL, causing ppDacl->AclSize after that to crash.
Real world example is in closed beta, but I can provide a test case if needed.