aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ndps.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-02 19:31:16 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-02 19:31:16 +0000
commit5500b787d5f75684abbdd1ef9f50b1af41c4f2d0 (patch)
tree1ad0187d0c2913a7cd9d12ad32e94f6b4a683d6d /epan/dissectors/packet-ndps.c
parent970953d65162ac2a9d86efb41760d7f67d0dec75 (diff)
fix #223: add another tvb_ensure_bytes_exist() call
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14528 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ndps.c')
-rw-r--r--epan/dissectors/packet-ndps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ndps.c b/epan/dissectors/packet-ndps.c
index da0e230a40..9b1454aedf 100644
--- a/epan/dissectors/packet-ndps.c
+++ b/epan/dissectors/packet-ndps.c
@@ -5690,6 +5690,7 @@ dissect_ndps_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ndps_tree, g
{
proto_tree_add_item(atree, hf_ndps_attribute_value, tvb, foffset, length, FALSE);
}
+ tvb_ensure_bytes_exist(tvb, foffset, length);
foffset += length;
proto_item_set_end(aitem, tvb, foffset);
}