diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2024-04-30 11:56:44 +0300 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2024-05-08 09:20:57 -0300 |
| commit | 30116e9079e3f395ef186960d986c7d073d7eb8a (patch) | |
| tree | 9a19e6982002a3ff1cfb2ef908065e0bd8e6d199 /docs/devel/writing-monitor-commands.rst | |
| parent | 246f54e0ccc288239fae78ec9e401ba070667b0b (diff) | |
| download | focaccia-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