Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4025703

MD5.java doesn't implement cloneable properly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.0
    • 1.1
    • 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....

            brenaudsunw Benjamin Renaud (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: