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

Paul Hohensee phh at openjdk.org
Thu Apr 27 16:54:54 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 81 additional commits since the last revision:

 - 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
 - 8301842: JFR: increase checkpoint event size for stacktrace and string pool
   
   Reviewed-by: phh
   Backport-of: 7dfe75cf553193faf709cff6b8b2505680d7cebc
 - 8288332: Tier1 validate-source fails after 8279614
   
   Backport-of: e90b579b294eb88f6b4e236d19b05063775ee8d7
 - 8271323: [TESTBUG] serviceability/sa/ClhsdbCDSCore.java fails with -XX:TieredStopAtLevel=1
   
   Backport-of: 9bc52afa481c476ae9c379dff44ae8266777f616
 - ... and 71 more: https://git.openjdk.org/jdk11u-dev/compare/c117c562...cae5c9d8

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1667/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1667/files/bc612438..cae5c9d8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1667&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1667&range=01-02

  Stats: 25069 lines in 507 files changed: 19363 ins; 2825 del; 2881 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