[gnutls-devel] libtasn1 | asn1_decode_simple_der doesn't accept empty OCTET STRING (#48)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sat Feb 10 11:56:04 CET 2024




Simon Josefsson commented: https://gitlab.com/gnutls/libtasn1/-/issues/48#note_1767277389

To clarify, I'm not OPPOSED to fixing this in libtasn1.  However, my experiments with fixing similar empty vs missing confusion before always led to complicated corner-cases that also break existing users of libtasn1.  Closing the gap would be nice, but I mostly wanted to raise a word of caution to change the ABI expectations without considering if there is existing code that rely on the current behaviour.  I didn't study this example in detail: it may be possible to prove that it isn't possible to rely on the existing libtasn1 behaviour in any reasonable and useful way.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/-/issues/48#note_1767277389
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/20240210/f0087986/attachment-0001.html>


More information about the Gnutls-devel mailing list