]> git.ipfire.org Git - thirdparty/qemu.git/commit
vnc_refresh: calling vnc_update_client might free vs
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 25 Jan 2010 12:54:57 +0000 (12:54 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 Jan 2010 00:09:08 +0000 (18:09 -0600)
commitc727a054594b1c94177373680408fbf4ee92d3f1
tree9b02c9cbb36b61de898130989693b52065802bb6
parenteb05143e244fb7abb720a1fd1c90d5317125e023
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>
(cherry picked from commit 6185c5783c50ab5bb4bcdc317772848278cb9bc1)
vnc.c