[jdk11u-dev] RFR: 8289301: P11Cipher should not throw out of bounds exception during padding

Zdenek Zambersky zzambers at openjdk.org
Wed Mar 1 14:09:16 UTC 2023


Fix for possible OOB exception by P11Cipher. Backported from [jdk17u-dev](https://github.com/openjdk/jdk17u-dev/commit/2f7e673f521a707d7be7b83efe73df2010d36206).

Testing:
[Passed jdk_security.](https://github.com/zzambers/jdk-tester/actions/runs/4293705819)

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

Commit messages:
 - Backport 2f7e673f521a707d7be7b83efe73df2010d36206

Changes: https://git.openjdk.org/jdk11u-dev/pull/1786/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1786&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289301
  Stats: 124 lines in 2 files changed: 117 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1786.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1786/head:pull/1786

PR: https://git.openjdk.org/jdk11u-dev/pull/1786


More information about the jdk-updates-dev mailing list