提交 88416593 编写于 作者: D Daniel P. Berrange

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
上级 230a5d8b
......@@ -343,6 +343,7 @@ remoteRemoveClientStream(struct qemud_client *client,
filter->next = filter->next->next;
break;
}
filter = filter->next;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册