aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h225.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-11-24 19:13:54 +0000
committerGerald Combs <gerald@wireshark.org>2007-11-24 19:13:54 +0000
commit7d5b4af5d0e13408023cbb378dcbdb1d45298fd1 (patch)
tree641108bd6575c307986d32d063b8b007de4493e1 /epan/dissectors/packet-h225.c
parent330c9d0b4ba96195f0a42e0714a7c056ede4dc7f (diff)
Make sure h225_pi is never NULL.
svn path=/trunk/; revision=23568
Diffstat (limited to 'epan/dissectors/packet-h225.c')
-rw-r--r--epan/dissectors/packet-h225.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-h225.c b/epan/dissectors/packet-h225.c
index bfec478237..556cec691f 100644
--- a/epan/dissectors/packet-h225.c
+++ b/epan/dissectors/packet-h225.c
@@ -83,7 +83,7 @@ static int dissect_h225_H323UserInformation(tvbuff_t *tvb, packet_info *pinfo, p
static h225_packet_info pi_arr[5]; /* We assuming a maximum of 5 H225 messaages per packet */
static int pi_current=0;
-h225_packet_info *h225_pi=NULL;
+h225_packet_info *h225_pi=&pi_arr[0];
static dissector_handle_t h225ras_handle;
static dissector_handle_t H323UserInformation_handle;