diff options
| author | Basil Salman | 2021-07-12 18:15:08 +0200 |
|---|---|---|
| committer | Michael Roth | 2021-08-03 05:11:45 +0200 |
| commit | 02ac3f4b959546ad69287aae84e2d52e21aeb479 (patch) | |
| tree | dd20495e918bdfe98e8ae8680879491e467fdd3a /python/tests | |
| parent | qga-win: Increase VSS freeze timeout to 60 secs instead of 10 (diff) | |
| download | qemu-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 'python/tests')
0 files changed, 0 insertions, 0 deletions
