aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h225.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-11-12 20:02:24 +0000
committerGerald Combs <gerald@wireshark.org>2007-11-12 20:02:24 +0000
commitb8c7fa9bc663cc93e4e42e366dd4fb6b773d04fd (patch)
treec2a630d6004532046b30274d84dde77f01311090 /epan/dissectors/packet-h225.c
parent0a2fdfe9ec382d03352a2b43af7bbbba94b06f1d (diff)
Don't dereference a NULL pointer.
svn path=/trunk/; revision=23438
Diffstat (limited to 'epan/dissectors/packet-h225.c')
-rw-r--r--epan/dissectors/packet-h225.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h225.c b/epan/dissectors/packet-h225.c
index 5d28634161..bfec478237 100644
--- a/epan/dissectors/packet-h225.c
+++ b/epan/dissectors/packet-h225.c
@@ -1,7 +1,7 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-h225.c */
-/* ../../tools/asn2wrs.py -e -p h225 -c h225.cnf -s packet-h225-template H323-MESSAGES.asn */
+/* ../../tools/asn2wrs.py -e -p h225 -c ./h225.cnf -s ./packet-h225-template -D . H323-MESSAGES.asn */
/* Input file: packet-h225-template.c */
@@ -1586,7 +1586,7 @@ dissect_h225_DialedDigits(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U
1, 128, "0123456789#*,", 13,
&value_tvb);
- 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? */