diff options
author | Evan Huus <eapache@gmail.com> | 2013-03-02 16:23:21 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-03-02 16:23:21 +0000 |
commit | 105dbc40273028cd3acbb9da8fe740536fd374a7 (patch) | |
tree | f2edbfc551b4a1ccef3a5702147beec08ebfad84 /epan/dissectors/packet-dtls.c | |
parent | f473d9a3d7c97303ab31fa548974fc771b5d5bda (diff) |
Pass the same offset to tvb_ensure_bytes_exist and fragment_add.
One minor part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8380
svn path=/trunk/; revision=48010
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r-- | epan/dissectors/packet-dtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c index 159fda5c00..639fc14118 100644 --- a/epan/dissectors/packet-dtls.c +++ b/epan/dissectors/packet-dtls.c @@ -1219,7 +1219,7 @@ dissect_dtls_handshake(tvbuff_t *tvb, packet_info *pinfo, pinfo->fragmented = TRUE; /* Don't pass the reassembly code data that doesn't exist */ - tvb_ensure_bytes_exist(tvb, offset, fragment_length); + tvb_ensure_bytes_exist(tvb, offset+12, fragment_length); frag_msg = fragment_add(tvb, offset+12, pinfo, message_seq, dtls_fragment_table, |