[jdk11u-dev] RFR: 8299677: Formatter.format might take a long time to format an integer or floating-point [v7]

Paul Hohensee phh at openjdk.org
Wed Apr 3 22:07:30 UTC 2024


> Simple almost clean backport of a potential DOS attack vector fix. Backport from JDK 17 (see https://github.com/openjdk/jdk17u-dev/pull/1077) is clean. Copyright date conflict, plus changed
> 
> Flags.contains(f, Flags.ZERO_PAD)
> 
> to
> 
> f.contains(Flags.ZERO_PAD)
> 
> Passes new and old Formatter tests.

Paul Hohensee has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 96 commits:

 - Merge master
 - 8305962: update jcstress to 0.16
   
   Backport-of: 292ee630ae32c3b50363b10ffa6090e57ffef1e8
 - 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
   
   Reviewed-by: phh
   Backport-of: 951b5f8ecb9cd2a72b3904c110179afe487ada2b
 - 8307955: Prefer to PTRACE_GETREGSET instead of PTRACE_GETREGS in method 'ps_proc.c::process_get_lwp_regs'
   
   Reviewed-by: fyang, gli
   Backport-of: 2f1c65486b1e584f9c4a2eb7af2414d032a02748
 - 8294156: Allow PassFailJFrame.Builder to create test UI
   
   Backport-of: 42b9ac8a07b540f4d7955a778923d24a876451cc
 - 8316053: Open some swing tests 3
   
   Backport-of: a2391a92cd09630cc3c46024f7e02924a997cc86
 - 8315726: Open source several AWT applet tests
   
   Reviewed-by: lucy
   Backport-of: 1741d13b1260253d1e299e8da9c42b5519a7ae48
 - 8314830: runtime/ErrorHandling/ tests ignore external VM flags
   
   Reviewed-by: lucy
   Backport-of: 2c2b3726f934d78ea044186320ef7c67b100ab8e
 - 8214400: Update hotspot application/jcstress jtreg tests wrappers to use jcstress 0.5
   
   Backport-of: bbfe9d2168932f4fc8a2184b6bfde12d92ff1c8c
 - Merge branch 'master' into backport-8299677
 - ... and 86 more: https://git.openjdk.org/jdk11u-dev/compare/6808c5c8...5edd53ac

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

Changes: https://git.openjdk.org/jdk11u-dev/pull/1667/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1667&range=06
  Stats: 612 lines in 4 files changed: 606 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1667.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1667/head:pull/1667

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


More information about the jdk-updates-dev mailing list