diff --git a/src/org/phoneid/keepassj2me/PwEntry.java b/src/org/phoneid/keepassj2me/PwEntry.java index 22e8a836f..2ed3e6209 100644 --- a/src/org/phoneid/keepassj2me/PwEntry.java +++ b/src/org/phoneid/keepassj2me/PwEntry.java @@ -165,7 +165,7 @@ public class PwEntry { url = source.url; username = source.username; - int passLen = source.binaryData.length; + int passLen = source.password.length; password = new byte[passLen]; System.arraycopy(source.password, 0, password, 0, passLen);