[jdk11u-dev] RFR: 8286705: GCC 12 reports use-after-free potential bugs
Andrew John Hughes
andrew at openjdk.org
Fri Mar 29 16:48:34 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!
Oh this got approved.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2524#issuecomment-2027472871
More information about the jdk-updates-dev
mailing list