qemu/qga
Basil Salman 02ac3f4b95 qga-win: Fix build_guest_fsinfo() close of nonexistent
On the current error path of build_guest_fsinfo(), a non existent handle
is passed to CloseHandle().

This patch adds initialization of hLocalDiskHandle to
INVALID_HANDLE_VALUE, and checks for handle validity before the handle
is closed.

Signed-off-by: Basil Salman <basil@daynix.com>
Signed-off-by: Basil Salman <basil@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
2021-08-02 22:11:45 -05:00
..
installer meson: convert qemu-ga 2020-08-21 06:30:12 -04:00
vss-win32 qga-win: Increase VSS freeze timeout to 60 secs instead of 10 2021-08-02 22:11:45 -05:00
channel-posix.c util: rename qemu_open() to qemu_open_old() 2020-09-16 10:33:48 +01:00
channel-win32.c qga: Add spaces around operator 2021-03-16 20:20:37 -05:00
channel.h qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
commands-common.h qga: Extract qmp_guest_file_read() to common commands.c 2020-04-15 09:15:53 -05:00
commands-posix-ssh.c qapi: Use QAPI_LIST_PREPEND() where possible 2020-12-19 10:20:14 +01:00
commands-posix.c qga: fix guest-get-disks regression 2021-04-20 16:27:45 +01:00
commands-win32.c qga-win: Fix build_guest_fsinfo() close of nonexistent 2021-08-02 22:11:45 -05:00
commands.c qga: Add spaces around operator 2021-03-16 20:20:37 -05:00
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
main.c qga: return a more explicit error on why a command is disabled 2021-03-16 20:21:47 -05:00
meson.build meson: convert wixl detection to Meson 2021-01-23 15:55:05 -05:00
qapi-schema.json qapi: Enforce struct member naming rules 2021-03-23 22:31:43 +01:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
vss-win32.c qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
vss-win32.h qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00