Summary of the two issues:
- append_ucs2_value
- append_ucs4_value
Both are reached via the public accessors ksba_cert_get_issuer/ ksba_cert_get_subject.
Reported-by: Antti Levomäki
Summary of the two issues:
Both are reached via the public accessors ksba_cert_get_issuer/ ksba_cert_get_subject.
Reported-by: Antti Levomäki
| rK libksba | |||
| rK701ea6a20783 Improve the DN parser. | |||
| rK4561696808f8 Fix attribute to string for UCS4 and UCS2. | |||
| rK7946bf2a12eb Fix attribute to string OOB for UCS2 and UCS4. | |||
Before fixing the issue, we need to fix a mistake of escaping a space at the end.
That's in: rKe748fd1e774e: Fix attribute to string for escaping a space at the end.
See:RFC 4514
Original report in July was:
Message-ID: <cO0EsDTcvFJZAsZZTjBU3qUf_2T67lEPXtoVoutVCK71o8qS8eWklEBn4jjIUVAOdq8htkPr7MbgiuU2zUItI3HXjDnHN5W3xTzz7FLn_j4=@protonmail.com>
It has a problem for encryption.
It's better to handle the case when the length is not multiple of 4 for UCS4 and not multiple of 2 for UCS2.
I include this to the change.
There are multiple issues: