[jdk11u-dev] RFR: 8286705: GCC 12 reports use-after-free potential bugs
Paul Hohensee
phh at openjdk.org
Tue Feb 20 00:07:57 UTC 2024
On Sat, 17 Feb 2024 20:32:14 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:
> Hi all,
>
> This pull request contains a backport of commit [0e4bece5](https://github.com/openjdk/jdk/commit/0e4bece5b5143b8505496ea7430bbfa11e151aff) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
>
> The commit being backported was authored by Yasumasa Suenaga on 15 May 2022 and was reviewed by Kim Barrett.
>
> The backport to `parse_manifest.c` applied cleanly. The patch as a whole doesn't apply cleanly as it also patches `src/jdk.jpackage/linux/native/applauncher/LinuxPackage.c` and `jpackage` is not part of 11u.
>
> It fixes a `use-after-free` warning which prevents GCC 12+ from building 11u without `--disable-warnings-as-errors`.
>
> Thanks!
Marked as reviewed by phh (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk11u-dev/pull/2524#pullrequestreview-1889297394
More information about the jdk-updates-dev
mailing list