aboutsummaryrefslogtreecommitdiff
path: root/qga/vss-win32
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-03-24 18:36:30 +0300
committerMarkus Armbruster <armbru@redhat.com>2020-04-04 14:15:24 +0200
commit6a4a38530e70f3917a58d71d4d08e28bd8146015 (patch)
tree760bc12e74b1c1efb0c829c6f24a6a1b232b7dd0 /qga/vss-win32
parentb0e709503cee6e30e62b35ef416a53531371c1a7 (diff)
qga/commands-posix: fix use after free of local_err
local_err is used several times in guest_suspend(). Setting non-NULL local_err will crash, so let's zero it after freeing. Also fix possible leak of local_err in final if(). Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200324153630.11882-7-vsementsov@virtuozzo.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qga/vss-win32')
0 files changed, 0 insertions, 0 deletions