http://bugs.winehq.org/show_bug.cgi?id=18758 Summary: LsaGetLogonSessionData unconditionally returns STATUS_SUCCESS Product: Wine Version: 1.1.22 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: secur32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: winesku(a)googlemail.com CC: kai.blin(a)gmail.com LsaGetLogonSessionData unconditionally returns STATUS_SUCCESS. Applications that use LsaGetLogonSessionData normally rely on a different behaviour: If LsaGetLogonSessionData returns STATUS_SUCCESS, it allocates a buffer for the caller. Now if a client app relies on a buffer being allocated and reads from this buffer, it will surely crash. Therefore, LsaGetLogonSessionData should return an error code, such as STATUS_NOT_IMPLEMENTED, as long as it is only a stub, so client apps that do proper error handling do not get tempted to touch the buffer that the current implementation in WINE will not allocate for them. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.