[gnutls-devel] GnuTLS | apparent bug in _gnutls_x509_der_encode with fix/workaround that shouldn't work (#1078)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Sep 2 04:53:32 CEST 2020

CurtisVillamizar commented:

I created a patch file for lib/x509/common.c to provide more info.  Here is the patch first.
The file asn1_src_2 (part of the debugging) is next.
The beginning of the files asn1_src_1 and asn1_src_2 are identical so apparently there is no inplace overwrite.  The last 28 lines of asn1_src_2 indicate that asn1_der_coding when fed a NULL buffer and size=0 does not think anything but the tbsCertificate.validity is valid.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1078#note_405714520
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200902/c032d991/attachment.html>

More information about the Gnutls-devel mailing list