MD5.java doesn't implement cloneable properly.

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: