diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-11-12 20:02:24 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-11-12 20:02:24 +0000 |
commit | b8c7fa9bc663cc93e4e42e366dd4fb6b773d04fd (patch) | |
tree | c2a630d6004532046b30274d84dde77f01311090 /asn1/h225/h225.cnf | |
parent | 0a2fdfe9ec382d03352a2b43af7bbbba94b06f1d (diff) |
Don't dereference a NULL pointer.
svn path=/trunk/; revision=23438
Diffstat (limited to 'asn1/h225/h225.cnf')
-rw-r--r-- | asn1/h225/h225.cnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/h225/h225.cnf b/asn1/h225/h225.cnf index 52ee9e1e9f..510bd74b23 100644 --- a/asn1/h225/h225.cnf +++ b/asn1/h225/h225.cnf @@ -302,7 +302,7 @@ IsupNumber/nationalStandardPartyNumber isupNationalStandardPartyNumber guint len = 0; %(DEFAULT_BODY)s - if (h225_pi->is_destinationInfo == TRUE) { + if (h225_pi && h225_pi->is_destinationInfo == TRUE) { if (value_tvb) { len = tvb_length(value_tvb); /* XXX - should this be allocated as an ephemeral string? */ |