RFR: 8258915: Temporary buffer cleanup [v2]

Weijun Wang weijun at openjdk.java.net
Fri Jan 22 15:19:44 UTC 2021


On Fri, 22 Jan 2021 08:18:15 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Weijun Wang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>> 
>>  - rsa
>>  - Merge
>>  - 8258915: More temporary buffer cleanup
>>    
>>    8258915: More temporary buffer cleanup
>
> src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java line 233:
> 
>> 231:             DerValue val = DerValue.wrap(DerValue.tag_Sequence, out);
>> 232:             key = val.toByteArray();
>> 233:             val.clear();
> 
> Update RSAPrivateKeyImpl.java also for consistency sake?

Good idea.

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

PR: https://git.openjdk.java.net/jdk/pull/2070



More information about the security-dev mailing list