aboutsummaryrefslogtreecommitdiff
path: root/target/moxie
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-03-24 18:36:26 +0300
committerMax Reitz <mreitz@redhat.com>2020-03-26 14:44:32 +0100
commit66c8672d242e9a494216237648b7787649c2c970 (patch)
tree637753bcc6ef4f1d1eef69ee39b596edd809aa86 /target/moxie
parent01e38186ecb1fc6275720c5425332eed280ea93d (diff)
block/mirror: fix use after free of local_err
local_err is used again in mirror_exit_common() after bdrv_set_backing_hd(), so we must zero it. Otherwise try to set non-NULL local_err will crash. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200324153630.11882-3-vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'target/moxie')
0 files changed, 0 insertions, 0 deletions