aboutsummaryrefslogtreecommitdiffstats
path: root/epan/reassemble.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-09-20 17:23:19 +0000
committerGerald Combs <gerald@wireshark.org>2005-09-20 17:23:19 +0000
commitba83bf145fc57c59b16d67ca78a97e8e6716d193 (patch)
treea99e20376f4f73f3fc8dd7b460d3c9d8978920b9 /epan/reassemble.c
parent27a1e92489383b060691fc0e828c464bcff4e30d (diff)
Don't try to reassemble a zero-length fragment. Add a comment to
reassemble.c about the handling of zero-length fragments. svn path=/trunk/; revision=15899
Diffstat (limited to 'epan/reassemble.c')
-rw-r--r--epan/reassemble.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/reassemble.c b/epan/reassemble.c
index 2c43fd786f..07e6e1c612 100644
--- a/epan/reassemble.c
+++ b/epan/reassemble.c
@@ -1467,6 +1467,8 @@ fragment_add_dcerpc_dg(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id
* of that (empty) list.
*
* Otherwise, it returns NULL.
+ *
+ * XXX - Should we simply return NULL for zero-length fragments?
*/
static fragment_data *
fragment_add_seq_check_work(tvbuff_t *tvb, int offset, packet_info *pinfo,