[Qemu-devel] [PATCH] Fix crash when connecting to VNC through websocket

2015-02-22 Thread Jorge Acereda Maciá
Connecting to VNC through websocket crashes in vnc_flush() when trying to acquire a mutex that hasn't been initialized (vnc_init_state(vs) hasn't been called at this point). Signed-off-by: Jorge Acereda Macia --- ui/vnc-ws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u

[Qemu-devel] [PATCH] Fix crash when connecting to VNC through websocket

2015-02-23 Thread Jorge Acereda Maciá
Please, forget my previous patch, worked somehow with Chrome but failed with Safari (with a good reason, the sent headers were incorrect). This one should be correct and simpler. Signed-off-by: Jorge Acereda Macia --- ui/vnc-ws.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -

[Qemu-devel] [PATCH v2] Fix crash when connecting to VNC through websocket

2015-02-25 Thread Jorge Acereda Maciá
Connecting to VNC through websocket crashes in vnc_flush() when trying to acquire a mutex that hasn't been initialized (vnc_init_state(vs) hasn't been called at this point). Signed-off-by: Jorge Acereda Macia --- ui/vnc-ws.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a