> This change fixes a flaws in DES[ed]KeySpec::isWeak when passing invalid > parameters such as negative offsets and null keys.
Shawn Emery 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 five additional commits since the last revision: - Merge with master branch - Preserve existing IKE behavior when key length (with offset) is invalid - Change throws from IKE to AIOBE for negative offsets Update javadoc of AIOBE throws Explicitly check for null keys to provide consitent behavior between methods Update null key and offset key unit tests to account for 3DES and AIOBEs - Add unit test for negative offsets - 8364121: DESKeySpec.isWeak does not check negative offset ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30069/files - new: https://git.openjdk.org/jdk/pull/30069/files/b5f02eed..9b18c2f2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30069&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30069&range=03-04 Stats: 232961 lines in 4363 files changed: 101286 ins; 96669 del; 35006 mod Patch: https://git.openjdk.org/jdk/pull/30069.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30069/head:pull/30069 PR: https://git.openjdk.org/jdk/pull/30069
