RFR: JDK-8300416 java.security.MessageDigestSpi clone can result in thread-unsafe clones [v3]

Sean Mullan mullan at openjdk.org
Fri Feb 3 15:33:55 UTC 2023


On Thu, 2 Feb 2023 22:24:48 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> I think you mean line 126? :
>> 
>> `                tempArray = new byte[n];  `
>
> You are correct. How did I come up with 220?

@mcpowers Some comments in the code explaining this better would help.

-------------

PR: https://git.openjdk.org/jdk/pull/12348



More information about the security-dev mailing list