https://bugs.winehq.org/show_bug.cgi?id=44142
Bug ID: 44142 Summary: steamwebhelper.exe crashes on wine-stagining 2.21 because NtQueryInformationFile fails Product: Wine-staging Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: twunknown@gmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Created attachment 59890 --> https://bugs.winehq.org/attachment.cgi?id=59890 backtrace
steamwebhelper.exe crashes on wine staging 2.21 but not vanilla wine because querying FileNameInformation on a named pipe has been implemented. If NtQueryInformationFile is called after CreateFileW has been called on the named pipe (Which is what happens in the case of steamwebhelper.exe) Then it will return STATUS_BAD_DEVICE_TYPE which is unexpected and the process crashes. This is different to Windows 7 in which the call will succeed and the information will be returned.