diff --git a/common/network/websocket.c b/common/network/websocket.c index 47ac11d..e9ad04a 100644 --- a/common/network/websocket.c +++ b/common/network/websocket.c @@ -1320,6 +1320,8 @@ ws_ctx_t *do_handshake(int sock) { } else { // Client tried an empty password, just fail them response[0] = '\0'; + authbuf[0] = 'a'; + authbuf[1] = '\0'; } }