mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Simply calling getPassword() does not currently work correctly, as the implementation of getPassword() assumes there will be at least one value if the field is present. This results in an ArrayIndexOutOfBoundsException for records with empty passwords: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:659) at java.util.ArrayList.get(ArrayList.java:435) at com.keepersecurity.secretsManager.core.KeeperRecord.getPassword(SecretsManager.kt:134) ...