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

Paul Hohensee phh at openjdk.org
Wed Apr 26 21:02:54 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 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 25 additional commits since the last revision:

 - Merge branch 'master' into backport-8299679
 - 8289948: Improve test coverage for XPath functions: Node Set Functions
   
   Backport-of: 57bf603b7332db86c39680d16b78f94a904daf46
 - 8289440: Remove vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded003 from ProblemList.txt
   
   Backport-of: 00d06d4a82c5cbc8cc5fde97caa8cb56279c441a
 - 8282036: Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
   
   Backport-of: 784fa0add77a3e473e2cdbdcc27b3ed076678565
 - 8209935: Test to cover CodeSource.getCodeSigners()
   
   Backport-of: 0cb0ecf4433f1054ba2f0fbdabee01323893e0fe
 - 8271838: AmazonCA.java interop test fails
   
   Backport-of: 512db0ff31a0a1a2bd8805964ba3d06e2cbfb9e9
 - 8286154: Fix 3rd party notices in test files
   
   Backport-of: 1277f5d84e9c2863595396a471a61d83f8a0298c
 - 6779701: Wrong defect ID in the code of test LocalRMIServerSocketFactoryTest.java
   
   Backport-of: 8a662105c2da1f0fb9b7ecc5058fc85858439ed9
 - 8298649: JFR: RemoteRecordingStream support for checkpoint event sizes beyond u4
   
   Reviewed-by: phh
   Backport-of: 0eeaf6b219758563712d951b3c6ff160ebeff52d
 - 8277990: NMT: Remove NMT shutdown capability
   
   Reviewed-by: mbaesken
   Backport-of: 5a036ace01ebedd88fb3d9100e3a0c19871677ac
 - ... and 15 more: https://git.openjdk.org/jdk17u-dev/compare/e9f2e393...a0d7f7f8

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/1077/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/1077/files/9d08d0cf..a0d7f7f8

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

  Stats: 61476 lines in 1039 files changed: 39920 ins; 13065 del; 8491 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