help-libtasn1
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on asn1_read_value (buffer/truncation)


From: Jeffrey Walton
Subject: Question on asn1_read_value (buffer/truncation)
Date: Fri, 26 Nov 2010 01:50:56 -0500

Hi All,

I've read the documentation on asn1_read_value at asn1_read_value. I'm
not clear on what happens if the buffer provided to asn1_read_value is
too small.

Does (1) asn1_read_value fail, (2) does the function copy bytes up to
size of the buffer and return truncation, or (3) copy up to size of
the buffer and succeed?

Thanks in advance,
Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]