Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

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

@svark

Description

@svark

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions