aboutsummaryrefslogtreecommitdiffstats
path: root/epan/reassemble.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-01-22 19:31:42 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-01-22 19:31:42 +0000
commit17afca625c6f67fa50d5acc4e01eb7a591b9b1e8 (patch)
treeb0dbf078fa8e240c0cedf821bc9b2cf5880b611c /epan/reassemble.c
parent484325759683cad78c49de8a68bd57d031564133 (diff)
simply use DISSECTOR_ASSERT() to detect tvb problems instead of my previous commit
svn path=/trunk/; revision=17074
Diffstat (limited to 'epan/reassemble.c')
-rw-r--r--epan/reassemble.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/reassemble.c b/epan/reassemble.c
index 6b93edae70..de0105e2a1 100644
--- a/epan/reassemble.c
+++ b/epan/reassemble.c
@@ -820,9 +820,7 @@ fragment_add_common(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id,
/* dissector shouldn't give us garbage tvb info */
- if(!tvb_bytes_exist(tvb, offset, frag_data_len)) {
- THROW(DissectorError);
- }
+ DISSECTOR_ASSERT(tvb_bytes_exist(tvb, offset, frag_data_len));
/* create key to search hash with */
key.src = pinfo->src;