aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-12-24 21:23:38 +0000
committerGerald Combs <gerald@wireshark.org>2009-12-24 21:23:38 +0000
commitafc57e6face418054c17fa99877be1501eea62e0 (patch)
treede42365e7f2226a90a39c9575bda87f1b994170b /asn1
parentad69bdd7eaf7bdc9900436cdde6d8ed8eddf8f5c (diff)
downloadwireshark-afc57e6face418054c17fa99877be1501eea62e0.tar.gz
wireshark-afc57e6face418054c17fa99877be1501eea62e0.tar.bz2
wireshark-afc57e6face418054c17fa99877be1501eea62e0.zip
Add NULL pointer checks. Fixes the fuzz crash in bug 4351.
svn path=/trunk/; revision=31362
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ldap/ldap.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/ldap/ldap.cnf b/asn1/ldap/ldap.cnf
index 59cb3d5624..ff7a59e444 100644
--- a/asn1/ldap/ldap.cnf
+++ b/asn1/ldap/ldap.cnf
@@ -754,7 +754,7 @@ offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, &v
const gchar *name;
#.FN_BODY IntermediateResponse/_untag/responseValue
- if(ldm_tree) {
+ if(ldm_tree && object_identifier_id) {
proto_item_set_text(ldm_tree, "%%s %%s", "IntermediateResponse", object_identifier_id);
name = oid_resolved_from_string(object_identifier_id);
if(name)