diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-11-24 19:13:54 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-11-24 19:13:54 +0000 |
commit | 7d5b4af5d0e13408023cbb378dcbdb1d45298fd1 (patch) | |
tree | 641108bd6575c307986d32d063b8b007de4493e1 /asn1/h225 | |
parent | 330c9d0b4ba96195f0a42e0714a7c056ede4dc7f (diff) | |
download | wireshark-7d5b4af5d0e13408023cbb378dcbdb1d45298fd1.tar.gz wireshark-7d5b4af5d0e13408023cbb378dcbdb1d45298fd1.tar.bz2 wireshark-7d5b4af5d0e13408023cbb378dcbdb1d45298fd1.zip |
Make sure h225_pi is never NULL.
svn path=/trunk/; revision=23568
Diffstat (limited to 'asn1/h225')
-rw-r--r-- | asn1/h225/packet-h225-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/h225/packet-h225-template.c b/asn1/h225/packet-h225-template.c index 40673cc3c6..0d997d35f2 100644 --- a/asn1/h225/packet-h225-template.c +++ b/asn1/h225/packet-h225-template.c @@ -75,7 +75,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; |