[Bug 45980] New: Cisco packet tracer crashes ( secur32.LsaGetLogonSessionData is a stub)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 13 03:28:11 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45980

            Bug ID: 45980
           Summary: Cisco packet tracer crashes
                    (secur32.LsaGetLogonSessionData is a stub)
           Product: Wine
           Version: 3.17
          Hardware: x86
               URL: https://drive.google.com/file/d/1qK79wHrDjvnWa_4JSw0AP
                    MIJUTsrxpLW/view
                OS: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: secur32
          Assignee: wine-bugs at winehq.org
          Reporter: xerox.xerox2000x at gmail.com
      Distribution: ---

Hi, a user reported trouble with this app on the forum:
https://forum.winehq.org/viewtopic.php?f=9&t=31265

It throws up an error box as can be seen in the forum-thread. I was not able to
get the backtrace from the user, for me it hangs after clicking OK.

AFAICT it only needs the LogonTime from the _SECURITY_LOGON_SESSION_DATA
structure to return something useful, then the errorwindow is gone for me, even
if still returning STATUS_NOT_IMPLEMENTED; hack below makes the app start
without errorwindow

sha1sum Packet\ Tracer\ 7.2\ for\ Windows\ 32\ bit.zip 
f84e1a08b0b4f38ac977a11c7071e20c028b8d3e  Packet Tracer 7.2 for Windows 32
bit.zip














diff --git a/dlls/secur32/lsa.c b/dlls/secur32/lsa.c
index 694971d714..549de73511 100644
--- a/dlls/secur32/lsa.c
+++ b/dlls/secur32/lsa.c
@@ -153,7 +153,10 @@ NTSTATUS WINAPI LsaGetLogonSessionData(PLUID LogonId,
         PSECURITY_LOGON_SESSION_DATA* ppLogonSessionData)
 {
     FIXME("%p %p stub\n", LogonId, ppLogonSessionData);
-    *ppLogonSessionData = NULL;
+ //   *ppLogonSessionData = NULL;
+    SECURITY_LOGON_SESSION_DATA fake;
+    fake.LogonTime.QuadPart = 44;
+       *ppLogonSessionData = &fake;
     return STATUS_NOT_IMPLEMENTED;
 }

-- 
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.



More information about the wine-bugs mailing list