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).

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

Commit messages:
 - JDK-8397503

Changes: https://git.openjdk.org/jdk/pull/33932/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33932&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8397503
  Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/33932.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33932/head:pull/33932

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

Reply via email to