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.
http://bugs.winehq.org/show_bug.cgi?id=33970
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2013-07-06 11:58:29 CDT --- Dup of bug 4264 ?
http://bugs.winehq.org/show_bug.cgi?id=33970
--- Comment #2 from elhana@sigil-guild.org 2013-07-09 11:43:17 CDT --- When I initially searched for similar problems it looked unrelated, but now comment 11 there seems to describe same issue, slight difference is process handle in my case instead of registry.
I changed RtlGetDaclSecurityDescriptor to run game client past that point, by forcing it to return DACL, but I don't think it is a right thing to do in general. It seems to me dacl should already be present in SecurityDescriptor and looks like NtQuerySecurityObject creates it.
http://bugs.winehq.org/show_bug.cgi?id=33970
--- Comment #3 from elhana@sigil-guild.org --- For the record, this was an issue with Wildstar closed beta client, but WS devs fixed it few month ago on their side.
http://bugs.winehq.org/show_bug.cgi?id=33970
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Version|unspecified |1.6-rc4 Resolution|--- |DUPLICATE Summary|GetSecurityInfo success, |Wildstar closed beta client |but DACL pointer is NULL |fails (GetSecurityInfo | |returns NULL DACL for | |process object)
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
resolving this as dupe of bug 15980 since that app there also suffers from GetSecurityInfo returning NULL DACL for process object.
Regards
*** This bug has been marked as a duplicate of bug 15980 ***
https://bugs.winehq.org/show_bug.cgi?id=33970
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.