[jdk17u] RFR: 8277029: JMM GetDiagnosticXXXInfo APIs should verify output array sizes

Thomas Stuefe stuefe at openjdk.java.net
Wed Nov 17 09:17:00 UTC 2021


Hi all,

this pull request contains a backport of commit b8d33a2a from the openjdk/jdk repository.

I'd like to backport this patch to jdk17 and jdk11. Most relevant this is for jdk11, to prevent difficult-to-spot downport errors early (the DCmd framework is different, which exposes authors of dcmd to surprising bugs - this downport helps prevent that).

Jdk17 downport mainly because it makes no sense to fix 11 and head and leave 17 as it is.

Thanks!

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

Commit messages:
 - Backport b8d33a2a4e4ac1be322644102e8f09ce1435b4fb

Changes: https://git.openjdk.java.net/jdk17u/pull/276/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=276&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277029
  Stats: 9 lines in 3 files changed: 3 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/276.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/276/head:pull/276

PR: https://git.openjdk.java.net/jdk17u/pull/276


More information about the jdk-updates-dev mailing list