> We miss a couple of CFRelease calls in 
> Java_apple_security_KeychainStore__1addItemToKeychain in case of early 
> errors/returns.
> Also a NULL  check after CFDataCreate is recommended.
> See 
> https://developer.apple.com/documentation/corefoundation/cfdatacreate(_:_:_:) 
>  about return value and ownership/Create rule.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Matthias Baesken has updated the pull request incrementally with one additional 
commit since the last revision:

  Move rawData declaration

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33999/files
  - new: https://git.openjdk.org/jdk/pull/33999/files/25c0ecad..a45aba2c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33999&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33999&range=01-02

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33999.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33999/head:pull/33999

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

Reply via email to