[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU libtasn1 branch, master, updated. libtasn1_4_2-4-gedaff43
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU libtasn1 branch, master, updated. libtasn1_4_2-4-gedaff43 |
Date: |
Thu, 05 Feb 2015 09:34:38 +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=edaff43f27c3e1bcf8317ecee9f733a995602b72
The branch, master has been updated
via edaff43f27c3e1bcf8317ecee9f733a995602b72 (commit)
from b27f1ad7dbfd248d98bc54ab5969ea4429c6b92d (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 edaff43f27c3e1bcf8317ecee9f733a995602b72
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Thu Feb 5 10:30:14 2015 +0100
only assign value if the previous node has one
This addresses the crash in the ASN.1 definitions parser
reported in
http://lists.gnu.org/archive/html/help-libtasn1/2015-01/msg00000.html
-----------------------------------------------------------------------
Summary of changes:
lib/parser_aux.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 4b15000..d3e9009 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -701,9 +701,12 @@ _asn1_expand_object_id (asn1_node node)
p5 =
_asn1_add_single_node (ASN1_ETYPE_CONSTANT);
_asn1_set_name (p5, p4->name);
- tlen = _asn1_strlen (p4->value);
- if (tlen > 0)
- _asn1_set_value (p5, p4->value, tlen + 1);
+ if (p4->value)
+ {
+ tlen = _asn1_strlen (p4->value);
+ if (tlen > 0)
+ _asn1_set_value (p5, p4->value, tlen + 1);
+ }
if (p2 == p)
{
_asn1_set_right (p5, p->down);
hooks/post-receive
--
GNU libtasn1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU libtasn1 branch, master, updated. libtasn1_4_2-4-gedaff43,
Nikos Mavrogiannopoulos <=