mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Fix infinite loop in daemon if client quits with multiple streams open
The daemon loops over the linked list of streams when a client quits, closing any that the client hadn't already closed. Except it didn't ever move to the next element in the list! * daemon/stream.c: Fix loop over linked list of streams
This commit is contained in:
parent
230a5d8b4a
commit
88416593e1
@ -343,6 +343,7 @@ remoteRemoveClientStream(struct qemud_client *client,
|
||||
filter->next = filter->next->next;
|
||||
break;
|
||||
}
|
||||
filter = filter->next;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user