diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-22 00:51:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-22 00:51:11 +0000 |
commit | c5b0fc27d756b57eba29031524e8ff78ed3e9f38 (patch) | |
tree | ed92c81d739bb9048f631131a0b33642c48efb1a /asn1/x411/x411.cnf | |
parent | 7ce6e5ebcdc095ce2bd9d56203d43fcd000d5264 (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.
svn path=/trunk/; revision=15948
Diffstat (limited to 'asn1/x411/x411.cnf')
-rw-r--r-- | asn1/x411/x411.cnf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf index 80544e0d1d..1cc7be0aa6 100644 --- a/asn1/x411/x411.cnf +++ b/asn1/x411/x411.cnf @@ -287,6 +287,7 @@ UniversalOrganizationalUnitNames B "x411.extension-attribute.27" "universal-orga /* we can do this now constructed octet strings are supported */ offset = dissect_ber_octet_string(FALSE, pinfo, tree, tvb, offset, hf_index, &next_tvb); - (void) call_ber_oid_callback(object_identifier_id, next_tvb, 0, pinfo, tree); + if (next_tvb) + (void) call_ber_oid_callback(object_identifier_id, next_tvb, 0, pinfo, tree); #.END |