aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/ConnParams.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/rfb/ConnParams.java')
-rw-r--r--java/com/tigervnc/rfb/ConnParams.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/tigervnc/rfb/ConnParams.java b/java/com/tigervnc/rfb/ConnParams.java
index e3c3a824..08037231 100644
--- a/java/com/tigervnc/rfb/ConnParams.java
+++ b/java/com/tigervnc/rfb/ConnParams.java
@@ -47,6 +47,7 @@ public class ConnParams {
{
if (verStrPos >= 12) return false;
verStr = new StringBuilder(13);
+ is.check(12);
while (verStrPos < 12) {
verStr.insert(verStrPos++,(char)is.readU8());
}