diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-09-20 17:23:19 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-09-20 17:23:19 +0000 |
commit | ba83bf145fc57c59b16d67ca78a97e8e6716d193 (patch) | |
tree | a99e20376f4f73f3fc8dd7b460d3c9d8978920b9 /epan/reassemble.c | |
parent | 27a1e92489383b060691fc0e828c464bcff4e30d (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.c | 2 |
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, |