RFR: 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates [v3]
Christoph Langer
clanger at openjdk.org
Wed May 17 21:32:54 UTC 2023
On Wed, 17 May 2023 12:42:32 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Christoph Langer has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Check return code of SecTrustSettingsCopyTrustSettings and address review comments
>
> src/java.base/macosx/native/libosxsecurity/KeystoreImpl.m line 1:
>
>> 1: /*
>
> Regarding CFArrayGetValueAtIndex, when looking at other usages of the function in the codebase the result is NULL checked usually. Should we do this here too? I admit the old coding does not have it as well.
Hm, can it really be NULL? I mean before we check the array size and then iterate the valid range.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13945#discussion_r1197070738
More information about the security-dev
mailing list