Re: [Qemu-devel] [PATCH 1/2] vnc: fix segfault due to failed handshake

2012-10-17 Thread Andreas Färber
Am 14.10.2012 15:08, schrieb Tim Hardeck: > When the VNC server disconnects due to a failed handshake we don't have > vs->bh allocated yet. > > Check for this case and don't delete it. > > Signed-off-by: Tim Hardeck > --- > ui/vnc.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)

[Qemu-devel] [PATCH 1/2] vnc: fix segfault due to failed handshake

2012-10-14 Thread Tim Hardeck
When the VNC server disconnects due to a failed handshake we don't have vs->bh allocated yet. Check for this case and don't delete it. Signed-off-by: Tim Hardeck --- ui/vnc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/vnc.c b/ui/vnc.c index 01b2daf..656895a 100

[Qemu-devel] [PATCH 1/2] vnc: fix segfault due to failed handshake

2012-10-09 Thread Tim Hardeck
When the VNC server disconnects due to a failed handshake we don't have vs->bh allocated yet. Check for this case and don't delete it. Signed-off-by: Tim Hardeck --- ui/vnc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/vnc.c b/ui/vnc.c index 01b2daf..656895a 100