RFR: 8285516: clearPassword should be called in a finally try block [v2]

Hai-May Chao hchao at openjdk.java.net
Wed May 4 19:57:30 UTC 2022


On Mon, 25 Apr 2022 14:23:17 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> Hi,
>> 
>> Could I have the simple update reviewed?
>> 
>> In the PKCS12 key store implementation, the PBEKeySpec.clearPassword() should be called in a finally try block.  Otherwise, the password cleanup could be interrupted by exceptions.
>> 
>> Thanks,
>> Xuelei
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   an extra whitespace added

Marked as reviewed by hchao (Committer).

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

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



More information about the security-dev mailing list