mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 23:23:55 +00:00
fix spice-server segfault on migration
spice-server tries to use the migration information without checking whenever this is available in the first place ... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
822fea8b32
commit
aa827c5b99
@ -3376,6 +3376,10 @@ static void reds_mig_switch(void)
|
||||
SpiceMsgMainMigrationSwitchHost migrate;
|
||||
RedsOutItem *item;
|
||||
|
||||
if (s == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
red_printf("");
|
||||
item = new_out_item(SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user