Skip to content

QIODeviceCopier may write to socket after deletion #4

@nathan-osman

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.

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