[jdk11u-dev] Integrated: 8286705: GCC 12 reports use-after-free potential bugs

Andrew John Hughes andrew at openjdk.org
Fri Mar 29 16:48:35 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!

This pull request has now been integrated.

Changeset: 5d4de366
Author:    Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/5d4de366d7092aefc26246ab1a4039f8bd30d7fa
Stats:     3 lines in 1 file changed: 1 ins; 1 del; 1 mod

8286705: GCC 12 reports use-after-free potential bugs

Reviewed-by: phh
Backport-of: 0e4bece5b5143b8505496ea7430bbfa11e151aff

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2524


More information about the jdk-updates-dev mailing list