aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h225.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-24 19:13:54 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-24 19:13:54 +0000
commit596eccaee1b63dbdc6ba4c64bac30140275ae546 (patch)
tree641108bd6575c307986d32d063b8b007de4493e1 /epan/dissectors/packet-h225.c
parentea68901ffc6b2d816083e69652fb328cf1845ddd (diff)
Make sure h225_pi is never NULL.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23568 f5534014-38df-0310-8fa8-9805f1628bb7
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;