Details
Description
org.openfast.template.type.codec.UnsignedInteger contains a method
   public ScalarValue decode(InputStream in) {
        long value = 0;
        int byt;
        try {
            do 
 while ((byt & 0x80) == 0);
        } catch (IOException e) 
        return createValue(value);
    }
it does not checks for eof condition (that return could be -1)