named_pipe icon indicating copy to clipboard operation
named_pipe copied to clipboard

error in PipeServer::disconnect when opened in read mode.

Open svark opened this issue 6 years ago • 0 comments

pipeserver when opened in read only mode fails to disconnect because of the call to FlushFileBuffers failing with Access denied. .

333 let mut result = unsafe { FlushFileBuffers(handle.value) };

similar error can happen in drop. As per msdn: The file handle must have the GENERIC_WRITE access right.

svark avatar Dec 23 '19 18:12 svark