diff options
author | Fabio Fiorina <fiorinaf@gnutls.org> | 2003-02-25 22:07:40 +0000 |
---|---|---|
committer | Fabio Fiorina <fiorinaf@gnutls.org> | 2003-02-25 22:07:40 +0000 |
commit | 0b694f3b2ae54571462ab7b7f1b0ed4ca73d10b1 (patch) | |
tree | cf994329907b490d814732b1af7149d3f5aeb35e /src/asn1Coding.c | |
parent | 53449a4560f3dbded7f48b2929427fa9be4dde54 (diff) | |
download | libtasn1-0b694f3b2ae54571462ab7b7f1b0ed4ca73d10b1.tar.gz libtasn1-0b694f3b2ae54571462ab7b7f1b0ed4ca73d10b1.tar.bz2 libtasn1-0b694f3b2ae54571462ab7b7f1b0ed4ca73d10b1.zip |
add vector length check
Diffstat (limited to 'src/asn1Coding.c')
-rw-r--r-- | src/asn1Coding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/asn1Coding.c b/src/asn1Coding.c index 2688332..0480c77 100644 --- a/src/asn1Coding.c +++ b/src/asn1Coding.c @@ -286,6 +286,7 @@ main(int argc,char *argv[]) printf("\n"); asn1_print_structure(stdout,structure,"",ASN1_PRINT_NAME_TYPE_VALUE); + der_len=1024; asn1_result=asn1_der_coding(structure,"",der,&der_len, errorDescription); printf("\nCoding: %s\n\n",libtasn1_strerror(asn1_result)); |