diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-04-13 20:59:39 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-04-13 20:59:39 +0000 |
commit | e3bd36c2d54d56a7c6c4ef10832319a4934226d8 (patch) | |
tree | 512f06db3538cdb49b19b7b27c60132f9683595f /epan/dissectors/packet-rx.c | |
parent | dc223932b8b4006810cf8259efe149e760b41029 (diff) |
Add a couple of tvb_ensure_bytes_exist() calls to fix bug 12.
svn path=/trunk/; revision=14064
Diffstat (limited to 'epan/dissectors/packet-rx.c')
-rw-r--r-- | epan/dissectors/packet-rx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rx.c b/epan/dissectors/packet-rx.c index bc1128d3b8..51ec9ad2b5 100644 --- a/epan/dissectors/packet-rx.c +++ b/epan/dissectors/packet-rx.c @@ -240,6 +240,7 @@ dissect_rx_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, offset, 4, tl); offset += 4; + tvb_ensure_bytes_exist(tvb, offset, tl); proto_tree_add_item(tree, hf_rx_ticket, tvb, offset, tl, FALSE); offset += tl; } |