diff options
Diffstat (limited to 'library/RemoteServer.cpp')
| -rw-r--r-- | library/RemoteServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/RemoteServer.cpp b/library/RemoteServer.cpp index ed47890f..53428f2b 100644 --- a/library/RemoteServer.cpp +++ b/library/RemoteServer.cpp @@ -220,7 +220,7 @@ void ServerConnection::threadFn() } if (memcmp(header.magic, RPCHandshakeHeader::REQUEST_MAGIC, sizeof(header.magic)) || - header.version != 1) + header.version < 1 || header.version > 255) { out << "In RPC server: invalid handshake header." << endl; return; |
