mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 07:01:21 +00:00
Fixed NPE in reader when connection closed during negotiaion. Added getRequiredProperty().
This commit is contained in:
@@ -124,6 +124,10 @@ public class ReaderGuacamoleReader implements GuacamoleReader {
|
||||
instructionStart = 0;
|
||||
}
|
||||
|
||||
// If EOF, return EOF
|
||||
if (instructionBuffer == null)
|
||||
return null;
|
||||
|
||||
// Locate end-of-opcode and end-of-instruction
|
||||
int opcodeEnd = -1;
|
||||
int instructionEnd = -1;
|
||||
|
Reference in New Issue
Block a user