[jdk17u-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 Apr 26 21:58:24 UTC 2023


> Simple almost clean backport of a potential DOS attack vector fix. 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 incrementally with one additional commit since the last revision:

  Merge master

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/1077/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/1077/files/3d404348..719715f3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1077&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1077&range=03-04

  Stats: 34 lines in 1 file changed: 0 ins; 34 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1077.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1077/head:pull/1077

PR: https://git.openjdk.org/jdk17u-dev/pull/1077


More information about the jdk-updates-dev mailing list