[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU libtasn1 branch, libtasn1_3_x, updated. libtasn1_3_8-1-gfe75e2
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU libtasn1 branch, libtasn1_3_x, updated. libtasn1_3_8-1-gfe75e28 |
Date: |
Thu, 04 Sep 2014 08:26:35 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=fe75e285f0365cd87d836713fdb8b3a74c194ddb
The branch, libtasn1_3_x has been updated
via fe75e285f0365cd87d836713fdb8b3a74c194ddb (commit)
from 426df66845aed01c12d5939dad8b7c41e59ac72a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fe75e285f0365cd87d836713fdb8b3a74c194ddb
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Thu Sep 4 10:18:34 2014 +0200
corrected regression which caused the failure of octet string extraction
This affected octet strings placed at the end of the structure.
Fixes issue with OCSP response parsing in gnutls.
-----------------------------------------------------------------------
Summary of changes:
lib/decoding.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/decoding.c b/lib/decoding.c
index 4fbbabb..3e6be91 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -720,6 +720,7 @@ _asn1_get_octet_string (asn1_node node, const unsigned char
*der, int der_len, i
{
int len2, len3, counter, tot_len, indefinite;
int result;
+ int orig_der_len = der_len;
counter = 0;
@@ -777,7 +778,7 @@ _asn1_get_octet_string (asn1_node node, const unsigned char
*der, int der_len, i
asn1_length_der (tot_len, temp, &len2);
_asn1_set_value (node, temp, len2);
- ret = _asn1_extract_der_octet (node, der, der_len);
+ ret = _asn1_extract_der_octet (node, der, orig_der_len);
if (ret != ASN1_SUCCESS)
return ret;
hooks/post-receive
--
GNU libtasn1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU libtasn1 branch, libtasn1_3_x, updated. libtasn1_3_8-1-gfe75e28,
Nikos Mavrogiannopoulos <=