mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-18 11:20:48 +01:00
Fix a nonexistent username + empty password passing through (#68)
Co-authored-by: Lauri Kasanen <cand@gmx.com>
This commit is contained in:
parent
620dbe558c
commit
e6d1b8c3c8
@ -1320,6 +1320,8 @@ ws_ctx_t *do_handshake(int sock) {
|
|||||||
} else {
|
} else {
|
||||||
// Client tried an empty password, just fail them
|
// Client tried an empty password, just fail them
|
||||||
response[0] = '\0';
|
response[0] = '\0';
|
||||||
|
authbuf[0] = 'a';
|
||||||
|
authbuf[1] = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user