Skip to content
Snippets Groups Projects
Commit 2b720018 authored by Laszlo Ersek's avatar Laszlo Ersek Committed by Michael Roth
Browse files

qga: unlink just created guest-file if fchmod() or fdopen() fails on it


We shouldn't allow guest filesystem pollution on error paths.

Suggested-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarLaszlo Ersek <lersek@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Reviewed-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 8fe6bbca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment