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

The SHA3 message digests impl of SUN provider are not thread safe after cloned

XMLWordPrintable

        The SHA3 message digests implemented in SUN provider are not thread-safe when cloned.
        The digest value calculated incorrectly, in case of SHA3 message digest object is cloned and hash value for original and cloned objects are calculated in parallel.
        The problem is in the SHA3.lanes buffer. It becomes shared between original and cloned object.

        This issue does not happen with other message digests.

              abakhtin Alexey Bakhtin
              abakhtin Alexey Bakhtin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: