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

Paul Hohensee phh at openjdk.org
Wed Mar 15 17:48:29 UTC 2023


On Wed, 15 Mar 2023 15:12:36 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:

> Fix for possible OOB exception by P11Cipher. Backported from [jdk11u-dev](https://github.com/openjdk/jdk11u-dev/commit/7d8991978bbe1cc03ba2386f5e699239ba47934c).
> 
> Only really modified `@library` (fixed by removing unnecessary path.)
> 
> Testing:
> [jdk_security](https://github.com/zzambers/jdk-tester/actions/runs/4427068905/jobs/7764159983) OK (new test passed, no regressions to [master](https://github.com/zzambers/jdk-tester/actions/runs/4407115132/jobs/7720330395) )

Lgtm.

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

Marked as reviewed by phh (Reviewer).

PR: https://git.openjdk.org/jdk8u-dev/pull/287


More information about the jdk8u-dev mailing list