summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorBasil Salman2021-07-12 18:15:08 +0200
committerMichael Roth2021-08-03 05:11:45 +0200
commit02ac3f4b959546ad69287aae84e2d52e21aeb479 (patch)
treedd20495e918bdfe98e8ae8680879491e467fdd3a /scripts/modules
parentqga-win: Increase VSS freeze timeout to 60 secs instead of 10 (diff)
downloadqemu-02ac3f4b959546ad69287aae84e2d52e21aeb479.tar.gz
qemu-02ac3f4b959546ad69287aae84e2d52e21aeb479.tar.xz
qemu-02ac3f4b959546ad69287aae84e2d52e21aeb479.zip
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>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions