libtasn1-commit
[Top][All Lists]
Advanced

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

[SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-4-g57b3490


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_4.7-4-g57b3490
Date: Fri, 08 Jan 2016 15:19:33 +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=57b3490e9789b084b44ab4f20456a2dad2ebb323

The branch, master has been updated
       via  57b3490e9789b084b44ab4f20456a2dad2ebb323 (commit)
      from  89aa5bb111a3e7646d6d346945a1d64a70f0eb2c (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 57b3490e9789b084b44ab4f20456a2dad2ebb323
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Fri Jan 8 16:12:22 2016 +0100

    der_coding: always null terminate errorDescription

-----------------------------------------------------------------------

Summary of changes:
 lib/coding.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/coding.c b/lib/coding.c
index 2dd80ba..b23ca16 100644
--- a/lib/coding.c
+++ b/lib/coding.c
@@ -1018,6 +1018,9 @@ asn1_der_coding (asn1_node element, const char *name, 
void *ider, int *len,
   int err;
   unsigned char *der = ider;
 
+  if (ErrorDescription)
+    ErrorDescription[0] = 0;
+
   node = asn1_find_node (element, name);
   if (node == NULL)
     return ASN1_ELEMENT_NOT_FOUND;


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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