aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-02-16 11:47:16 +0000
committerJörg Mayer <jmayer@loplof.de>2006-02-16 11:47:16 +0000
commit35e1e1abe48b0edf9fe17907f6dccd73fe47415f (patch)
tree7b24c0a6c947f1623ec018cdf19ab25f624a3470 /asn1
parentb13f6dcbd34e11cb7dff5f03be9c2bdde200b22a (diff)
Paolo Abeni:
The attached patch should fix bug 742. The issue is (at least, I think so...) in the packet-x509af dissector A null pointer is passes as parameter of a " %s " format string. svn path=/trunk/; revision=17317
Diffstat (limited to 'asn1')
-rw-r--r--asn1/x509af/x509af.cnf4
1 files changed, 3 insertions, 1 deletions
diff --git a/asn1/x509af/x509af.cnf b/asn1/x509af/x509af.cnf
index 7d1f44a244..8453660909 100644
--- a/asn1/x509af/x509af.cnf
+++ b/asn1/x509af/x509af.cnf
@@ -110,8 +110,10 @@ CertificateList/signedCertificateList/revokedCertificates/_item/userCertificate
#.FN_BODY SubjectName
+ const char* str;
%(DEFAULT_BODY)s
- proto_item_append_text(proto_item_get_parent(tree), " (%%s)", x509if_get_last_dn());
+ str = x509if_get_last_dn();
+ proto_item_append_text(proto_item_get_parent(tree), " (%%s)", str?str:"");
#.END