RFR: 8373924: Dangling pointer in ImageDecompressor::image_decompressor_close of imageDecompressor.cpp [v2]
Henry Jen
henryjen at openjdk.org
Fri Jan 23 23:19:40 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge origin/master
- 8373924: Dangling pointer in ImageDecompressor::image_decompressor_close of imageDecompressor.cpp:90 (ID: 34500)
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29371/files
- new: https://git.openjdk.org/jdk/pull/29371/files/a24ab6e1..d8bfef8d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29371&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29371&range=00-01
Stats: 36265 lines in 732 files changed: 20964 ins; 7321 del; 7980 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