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

Paul Hohensee phh at openjdk.org
Wed Sep 6 14:57:19 UTC 2023


> 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 84 commits:

 - 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
 - 8273806: compiler/cpuflags/TestSSE4Disabled.java should test for CPU feature explicitly
   
   Backport-of: 09ecb11927f0042ddc0c5c23d747b275ab70b36b
 - 8257928: Test image build failure with clang-10 due to -Wmisleading-indentation
   
   Backport-of: 4ea88512ddb89470ff5a043bc1865b9e4af661d6
 - 8213265: fix missing newlines at end of files
   
   Backport-of: 72bfdd96f1499ab25081676e9725734a85fd6aa1
 - ... and 74 more: https://git.openjdk.org/jdk11u-dev/compare/50074a04...dea762cb

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

Changes: https://git.openjdk.org/jdk11u-dev/pull/1667/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1667&range=04
  Stats: 318 lines in 2 files changed: 313 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