Am 27.01.21 um 19:59 schrieb Daniel P. Berrangé:

On Wed, Jan 27, 2021 at 07:56:16PM +0100, Stefan Weil wrote:
It returns ASN1_MEM_ERROR, so the input vector is too small.
Hmm, that's odd - "Value is not valid" corresponds to
ASN1_VALUE_NOT_VALID error code.


I now have built libtasn1 with debug information and -O0 and can confirm that asn1_der_coding returns ASN1_MEM_ERROR.

That's not surprising because it is called with *len == 0, while it requires at least 398.

Stefan




Reply via email to