aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipdc.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-10 14:48:06 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-10 14:48:06 +0000
commitf044fc277a88fff5fbcab9181ee450bd5ab01a2e (patch)
treefc4a7b022a14246df91ba12256e093df5bc70655 /epan/dissectors/packet-ipdc.c
parentd0c3a1bfc273a26b303a18f43ea99094f70b84ad (diff)
Get rid of some more g_assert*()'s in the dissectors. There are a few
remaining that I'm not sure exactly what to do with at the moment: the one in packet-frame probably should be there, the others probably shouldn't but they also should never fail unless there's a compile or build problem (AFAICS). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21367 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ipdc.c')
-rw-r--r--epan/dissectors/packet-ipdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ipdc.c b/epan/dissectors/packet-ipdc.c
index 23f99cda5a..24d2354aa5 100644
--- a/epan/dissectors/packet-ipdc.c
+++ b/epan/dissectors/packet-ipdc.c
@@ -205,7 +205,7 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
switch (type) {
/* simple IPDC_ASCII strings */
case IPDC_ASCII:
- g_assert(len<=IPDC_STR_LEN);
+ DISSECTOR_ASSERT(len<=IPDC_STR_LEN);
tvb_memcpy(tvb, tmp_tag_text, offset+2, len);
tmp_tag_text[len] = 0;
proto_tree_add_text(tag_tree, tvb, offset,