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_3_4-7-g0b1cce8


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_3_4-7-g0b1cce8
Date: Fri, 14 Mar 2014 14:27:26 +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=0b1cce8661cbdbb17d2c53ea314d442567bc508d

The branch, master has been updated
       via  0b1cce8661cbdbb17d2c53ea314d442567bc508d (commit)
      from  8801de3d8074ae74fcdead5172631ac404f573d4 (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 0b1cce8661cbdbb17d2c53ea314d442567bc508d
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Fri Mar 14 15:27:21 2014 +0100

    corrected delete_unneeded_choice_fields().

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

Summary of changes:
 lib/decoding.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/decoding.c b/lib/decoding.c
index 82f1c24..dee7a9f 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -813,9 +813,12 @@ _asn1_get_indefinite_length_string (const unsigned char 
*der, int *len)
 
 static void delete_unneeded_choice_fields(asn1_node p)
 {
-  if (p->right)
+  asn1_node p2;
+
+  while (p->right)
     {
-      asn1_delete_structure (&p->right);
+      p2 = p->right;
+      asn1_delete_structure (&p2);
     }
 }
 


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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