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

Yasumasa Suenaga ysuenaga at openjdk.java.net
Fri May 13 14:16:07 UTC 2022


GCC 12 reports use-after-free potential bugs in below:


In function 'find_positions',
    inlined from 'find_file' at /home/ysuenaga/github-forked/jdk/src/java.base/share/native/libjli/parse_manifest.c:364:9:

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

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

Changes: https://git.openjdk.java.net/jdk/pull/8696/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8696&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8286705
  Stats: 8 lines in 2 files changed: 4 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8696.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8696/head:pull/8696

PR: https://git.openjdk.java.net/jdk/pull/8696


More information about the core-libs-dev mailing list