libtasn1, asn1_read_value, and truncation
Jeffrey Walton
noloader at gmail.com
Fri Nov 26 06:57:44 CET 2010
Hi All,
How does one detect if/when libtasn1 truncates the value during
asn1_read_value. It is not clear to me from the online documentation
(http://www.gnu.org/software/libtasn1/manual/libtasn1.html).
Should GnuTLS infer truncation *if* the reported length of the value
(from asn1_read_value) is the same as the size of the buffer? (The
strategy is similar to interpreting return values from snprintf).
Jeff
More information about the Gnutls-devel
mailing list