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

Paul Hohensee phh at openjdk.org
Wed Apr 26 21:47:53 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/a0d7f7f8..3d404348

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

  Stats: 66 lines in 2 files changed: 0 ins; 66 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