RFR: 8373924: Dangling pointer in ImageDecompressor::image_decompressor_close of imageDecompressor.cpp [v3]

Henry Jen henryjen at openjdk.org
Fri Jan 23 23:24:50 UTC 2026


> I don't see image_decompressor_close actually referenced in the code base, as the decompressors are static and setup from image_decompressor_init().
> 
> This PR implements proper cleanup for decompressors to be defensive.

Henry Jen has updated the pull request incrementally with one additional commit since the last revision:

  remove dead code

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29371/files
  - new: https://git.openjdk.org/jdk/pull/29371/files/d8bfef8d..bd6a2333

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

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

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


More information about the core-libs-dev mailing list