https://bugs.winehq.org/show_bug.cgi?id=38764
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- Created attachment 51699 --> https://bugs.winehq.org/attachment.cgi?id=51699 Proposed patch
The problem occurs because the set_irp_result function assumes, that irp->file has a refcount greater than 1, which is not always the case.
The call to 'release_object( file );' can destroy the associated file, but later 'list_remove( &irp->dev_entry );' is executed which assumes that the file still exists.
After ensuring that the patch doesn't have any unintentional side effects I'll send it to wine-patches.