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

Paul Hohensee phh at openjdk.org
Tue Feb 27 21:06:20 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 87 commits:

 - Merge branch 'master' into backport-8299677
 - 8306372: Open source AWT CardLayout and Checkbox tests
   
   Backport-of: 781d6d793ad4cecb774bcbcb362c726779408ffd
 - 8314960: Add Certigna Root CA - 2
   
   Backport-of: a44f8b059847135ecd0618cb04abbb0d2be1d2d0
 - Merge branch 'master' into backport-8299677
 - Merge master
 - Merge master
 - Merge branch 'master' into backport-8299677
 - 8303075: [11u] Add CompileClassWithDebugTest to ProblemList for 8303074
   
   Reviewed-by: phh
 - 8270609: [TESTBUG] java/awt/print/Dialog/DialogCopies.java does not show instruction
   
   Reviewed-by: phh
   Backport-of: 4da45c430139fe66fab020c2f96686dc9cf26a97
 - 8273895: compiler/ciReplay/TestVMNoCompLevel.java fails due to wrong data size with TieredStopAtLevel=2,3
   
   Backport-of: a561eac912740da6a5982c47558e13f34481219f
 - ... and 77 more: https://git.openjdk.org/jdk11u-dev/compare/6e296a01...b13e668a

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

Changes: https://git.openjdk.org/jdk11u-dev/pull/1667/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1667&range=05
  Stats: 611 lines in 3 files changed: 606 ins; 1 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