Integrated: 8343622: AesDkCrypto.stringToKey should not return null

Weijun Wang weijun at openjdk.org
Thu Dec 5 08:38:52 UTC 2024


On Tue, 5 Nov 2024 15:35:18 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> When an exception happens inside these stringToKey() methods, it returns a null. This would lead to unexpected NPE some time in the future.

This pull request has now been integrated.

Changeset: ca46c3a5
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ca46c3a5ba324ceb4f30df772cb73a673647323e
Stats:     70 lines in 6 files changed: 54 ins; 11 del; 5 mod

8343622: AesDkCrypto.stringToKey should not return null

Reviewed-by: valeriep

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

PR: https://git.openjdk.org/jdk/pull/21908


More information about the security-dev mailing list