vnc_refresh: calling vnc_update_client might free vs
commit6185c5783c50ab5bb4bcdc317772848278cb9bc1
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 25 Jan 2010 12:54:57 +0000 (25 12:54 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 23:08:02 +0000 (26 17:08 -0600)
treef546e4acd750083c0e8f8c747273e5bd6d2b670f
parent053965c7ff5b260672719884e644ce4117d01995
vnc_refresh: calling vnc_update_client might free vs

Hi all,
this patch fixes another bug in vnc_refresh: calling vnc_update_client
might cause vs to be free()ed, in this case we cannot access vs->next
right after to examine the next item on the list.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc.c