RFR: 8285516: clearPassword should be called in a finally try block [v2]
Weijun Wang
weijun at openjdk.java.net
Wed May 4 17:38:22 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
Please merge your PR with master and I can run it for you.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8377
More information about the security-dev
mailing list