[Bug 44749] New: Sentinel HASP 'hardlock.sys' kernel driver expects ntdll.RtlCheckRegistryKey to return STATUS_SUCCESS on empty path

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 16 12:59:38 CDT 2018


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

            Bug ID: 44749
           Summary: Sentinel HASP 'hardlock.sys' kernel driver expects
                    ntdll.RtlCheckRegistryKey to return STATUS_SUCCESS on
                    empty path
           Product: Wine
           Version: 3.3
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

to separate two different issues from bug 44641

Technically it was
https://source.winehq.org/git/wine.git/commitdiff/f07e8ca8f01106b6d41a933f0ac393b30d505bad
("ntdll: Fix RtlCheckRegistryKey when called with empty path.") which returns
'STATUS_SUCCESS' now, causing the driver to execute a different code path, not
calling 'ntoskrnl.exe.RtlCreateRegistryKey' at this point.

Bug 44641 is about missing 'ntdll.RtlCreateRegistryKey' API -> fixed by
https://source.winehq.org/git/wine.git/commitdiff/535419a2bf8da3fd21cfdede44bf51026a97b94d

Created this ticket to avoid rechristening bug 44641 

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Minitab/Minitab 16

$ WINEDEBUG=+seh,+relay,+winedevice,+ntoskrnl wine ./Mtb.exe >>log.txt 2>&1
...
0019:Call ntoskrnl.exe.RtlCheckRegistryKey(00000001,0065fb20) ret=007a8edd
0019:Call ntdll.RtlCheckRegistryKey(00000001,0065fb20) ret=7bc7e2bb
0019:Ret  ntdll.RtlCheckRegistryKey() retval=c0000034 ret=7bc7e2bb
0019:Ret  ntoskrnl.exe.RtlCheckRegistryKey() retval=c0000034 ret=007a8edd
0019:Call KERNEL32.RaiseException(80000100,00000001,00000002,0065fad4)
ret=7ecd21a7
0019:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b44667f
ip=7b44667f tid=0019
0019:trace:seh:raise_exception  info[0]=7ecd21c0
0019:trace:seh:raise_exception  info[1]=7ecd6098
wine: Call from 0x7b44667f to unimplemented function
ntoskrnl.exe.RtlCreateRegistryKey, aborting
0019:trace:seh:call_vectored_handlers calling handler at 0x7ecc9e95
code=80000100 flags=1
0019:trace:seh:call_vectored_handlers handler at 0x7ecc9e95 returned 0
0019:trace:seh:call_stack_handlers calling handler at 0x7bcb023c code=80000100
flags=1 
--- snip ---

$ sha1sum MTBen1610su.exe 
f457d13475a783a0d2fff5566c0279640ba26bc6  MTBen1610su.exe

$ du -sh MTBen1610su.exe 
93M    MTBen1610su.exe

$ wine --version
wine-3.2-346-gb1aee9c391

Regards

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