summary refs log tree commit diff stats
path: root/docs/devel/writing-monitor-commands.rst
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>2024-04-30 11:56:44 +0300
committerFabiano Rosas <farosas@suse.de>2024-05-08 09:20:57 -0300
commit30116e9079e3f395ef186960d986c7d073d7eb8a (patch)
tree9a19e6982002a3ff1cfb2ef908065e0bd8e6d199 /docs/devel/writing-monitor-commands.rst
parent246f54e0ccc288239fae78ec9e401ba070667b0b (diff)
downloadfocaccia-qemu-30116e9079e3f395ef186960d986c7d073d7eb8a.tar.gz
focaccia-qemu-30116e9079e3f395ef186960d986c7d073d7eb8a.zip
migration: process_incoming_migration_co(): fix reporting s->error
It's bad idea to leave critical section with error object freed, but
s->error still set, this theoretically may lead to use-after-free
crash. Let's avoid it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'docs/devel/writing-monitor-commands.rst')
0 files changed, 0 insertions, 0 deletions