Skip to content

QIODeviceCopier may write to socket after deletion #4

Closed

Description

@nathan-osman

QFilesystemHandlerPrivate::processFile() creates a QIODeviceCopier to copy the contents of a file to the socket. However, the socket may be deleted if the client disconnects, leaving the possibility for a use-after-free error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions