RFR: 8296741: Illegal X400Address and EDIPartyName should not be created [v2]
Weijun Wang
weijun at openjdk.org
Wed Nov 9 22:44:59 UTC 2022
> `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.
Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
add test
only in patch2:
unchanged:
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11071/files
- new: https://git.openjdk.org/jdk/pull/11071/files/6fe354ef..46695903
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11071&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11071&range=00-01
Stats: 48 lines in 1 file changed: 48 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/11071.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11071/head:pull/11071
PR: https://git.openjdk.org/jdk/pull/11071
More information about the security-dev
mailing list