RFR: 8343622: AesDkCrypto.stringToKey should not return null [v2]

Weijun Wang weijun at openjdk.org
Tue Nov 5 15:51:58 UTC 2024


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

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  let it throw NSAE

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21908/files
  - new: https://git.openjdk.org/jdk/pull/21908/files/5f5eea2c..8ed39e88

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21908&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21908&range=00-01

  Stats: 9 lines in 2 files changed: 0 ins; 6 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/21908.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21908/head:pull/21908

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


More information about the security-dev mailing list