]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix infinite loop in daemon if client quits with multiple streams open
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 18 Mar 2011 16:24:24 +0000 (16:24 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 29 Mar 2011 11:17:58 +0000 (12:17 +0100)
commit88416593e19d56433662b801d6e72ba182024fd9
treef9d42e1305b20be0aeb209e476a584e0a3c58ec4
parent230a5d8b4aebd9353701e2805f8ddee8ef5d899a
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
daemon/stream.c