Integrated: 8296741: Illegal X400Address and EDIPartyName should not be created

Weijun Wang weijun at openjdk.org
Mon Nov 14 14:57:10 UTC 2022


On Wed, 9 Nov 2022 22:32:19 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> `EDIPartyName` should not have a null `partyName`.
> 
> Inside `X400Name` it should be a `DerValue` instead of arbitrary byte array. Note: in `GeneralSubtrees.java`, an `X400Name` is created with a null content. This would lead to an NPE anyway. A future fix might be needed.

This pull request has now been integrated.

Changeset: e1d298c1
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e1d298c12d8c8f22d36ba9592d188a3162b0c6e5
Stats:     66 lines in 4 files changed: 54 ins; 7 del; 5 mod

8296741: Illegal X400Address and EDIPartyName should not be created

Reviewed-by: xuelei, valeriep

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

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



More information about the security-dev mailing list