-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 1.1
-
Component/s: security-libs
-
None
-
1.0fcs
-
sparc
-
solaris_2.5
-
Not verified
According to Frank Yellin, these MD5.java doesn't implement clone correctly.
clone() does a "shallow" copy, not a "deep" copy, so cloning this class
causes the original and the clone to share the same buffers. This means they can't be used for non-final digesting....
clone() does a "shallow" copy, not a "deep" copy, so cloning this class
causes the original and the clone to share the same buffers. This means they can't be used for non-final digesting....