On Tue, 17 Nov 2026 16:14:35 GMT, Matthias Baesken <[email protected]> wrote:

> There are 2 realloc - calls in zip_util.c; in case they fail and return NULL, 
> they would overwrite existing variables in a way that could cause leaks.
> 
> ---------
> - [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: 7331ea42
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/7331ea4258362a791a6b24bb8007f2e29f0f0902
Stats:     6 lines in 1 file changed: 2 ins; 0 del; 4 mod

8397503: Failing realloc in zip_util.c overwrites variables with NULL and might 
create leaks

Reviewed-by: alanb

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

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

Reply via email to