[Bug 52105] New: Handle to \Device\NamedPipe\ cannot be used as the RootDirectory for NtCreateNamedPipeFile

WineHQ Bugzilla wine-bugs at winehq.org
Thu Nov 25 07:49:25 CST 2021


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

            Bug ID: 52105
           Summary: Handle to \Device\NamedPipe\ cannot be used as the
                    RootDirectory for NtCreateNamedPipeFile
           Product: Wine
           Version: 6.22
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wineserver
          Assignee: wine-bugs at winehq.org
          Reporter: jinoh.kang.kr at gmail.com
                CC: jacek at codeweavers.com
   Regression SHA1: 2600ecd4edfdb71097105c74312f83845305a4f2
      Distribution: ---

Commit 2600ecd4edf (server: Use a separated object for each opened named pipe
device file., 2018-10-29) split the role of the named pipe device and the named
pipe file.

However, in doing so, it changed the semantics of opening \Device\NamedPipe\. 
In particular, it is no longer possible to use a handle to \Device\NamedPipe\
as RootDirectory when creating a named pipe.

This bug makes Cygwin's named pipe creation
(https://github.com/cygwin/cygwin/blob/4f47e64b11ed8d47c62fa89e9b971f44b7e9ab75/winsup/cygwin/fhandler_pipe.cc#L993)
loop forever.

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