diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-22 00:51:11 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-22 00:51:11 +0000 |
commit | b9f95483cfe73ae56766cecbe86415588356527a (patch) | |
tree | ed92c81d739bb9048f631131a0b33642c48efb1a /asn1/camel | |
parent | 30e4ebfe4f78c927938e3cbb51ef633e1d7ef858 (diff) |
Fix a bunch of places where we were calling "dissect_ber_octet_string()"
with a non-null pointer-to-pointer-to-tvbuff and not checking whether
the returned tvbuff pointer was non-null.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15948 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/camel')
-rw-r--r-- | asn1/camel/camel.cnf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asn1/camel/camel.cnf b/asn1/camel/camel.cnf index c06569ca4e..f9040f070c 100644 --- a/asn1/camel/camel.cnf +++ b/asn1/camel/camel.cnf @@ -108,7 +108,8 @@ tvbuff_t *parameter_tvb; guint8 Cause_value; offset = dissect_ber_octet_string(implicit_tag, pinfo, tree, tvb, offset, hf_index, &camel_tvb); - dissect_q931_cause_ie(camel_tvb, 0, tvb_length_remaining(camel_tvb,0), tree, hf_camel_cause_indicator, &Cause_value); + if (camel_tvb) + dissect_q931_cause_ie(camel_tvb, 0, tvb_length_remaining(camel_tvb,0), tree, hf_camel_cause_indicator, &Cause_value); return offset; |