On Tue, 24 Nov 2026 16:27:27 GMT, Matthias Baesken <[email protected]> wrote:

> Some FormatMessage calls in libj2pkcs11 using FORMAT_MESSAGE_ALLOCATE_BUFFER 
> should check return values, to avoid issues in case of failed allocations.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: e8166806
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/e8166806c69b296cb7795cc22320b2db74be5354
Stats:     39 lines in 2 files changed: 19 ins; 4 del; 16 mod

8398153: FormatMessage calls in libj2pkcs11 using 
FORMAT_MESSAGE_ALLOCATE_BUFFER should check return values

Reviewed-by: alanb

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

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

Reply via email to