|
From: | Jeffrey Walton |
Subject: | libtasn1, asn1_read_value, and truncation |
Date: | Fri, 26 Nov 2010 00:57:44 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |