[Bug 18758] New: LsaGetLogonSessionData unconditionally returns STATUS_SUCCESS
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.
http://bugs.winehq.org/show_bug.cgi?id=18758 Kai Blin <kai.blin(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW AssignedTo|wine-bugs(a)winehq.org |kai.blin(a)gmail.com Ever Confirmed|0 |1 --- Comment #1 from Kai Blin <kai.blin(a)gmail.com> 2009-06-03 05:48:44 --- Working on it. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18758 --- Comment #2 from Kai Blin <kai.blin(a)gmail.com> 2009-06-03 06:00:48 --- Patch sent. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18758 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Juan Lang <juan_lang(a)yahoo.com> 2009-06-03 10:59:59 --- Patch committed today. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=18758 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2009-06-05 12:47:44 --- Closing bugs fixed in 1.1.23. -- 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.
participants (1)
-
wine-bugs@winehq.org