Crash fix.

This commit is contained in:
Brian Pellin
2010-02-12 20:29:06 -06:00
parent 636993136f
commit 88613145d3

View File

@@ -212,9 +212,11 @@ public class PwEntry {
binaryDesc = source.binaryDesc;
int descLen = source.binaryData.length;
binaryData = new byte[descLen];
System.arraycopy(source.binaryData, 0, binaryData, 0, descLen);
if ( source.binaryData != null ) {
int descLen = source.binaryData.length;
binaryData = new byte[descLen];
System.arraycopy(source.binaryData, 0, binaryData, 0, descLen);
}
parent = source.parent;