projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac0e82
)
Handle 3.7 VNC clients authentication correctly (Dan Kenigsberg).
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 31 Oct 2007 01:58:56 +0000
(
01:58
+0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 31 Oct 2007 01:58:56 +0000
(
01:58
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3498
c046a42c
-6fe2-441c-8c8c-
71466251a162
vnc.c
patch
|
blob
|
history
diff --git
a/vnc.c
b/vnc.c
index 83d001161e7f5a5e5ab7aa60a5b2829fb7a84ee5..88cca3b730711aa83e8d0f833e292b15d107ac5f 100644
(file)
--- a/
vnc.c
+++ b/
vnc.c
@@
-1806,7
+1806,10
@@
static int protocol_client_auth(VncState *vs, char *data, size_t len)
switch (vs->auth) {
case VNC_AUTH_NONE:
VNC_DEBUG("Accept auth none\n");
- vnc_write_u32(vs, 0); /* Accept auth completion */
+ if (vs->minor >= 8) {
+ vnc_write_u32(vs, 0); /* Accept auth completion */
+ vnc_flush(vs);
+ }
vnc_read_when(vs, protocol_client_init, 1);
break;