Fix the length that we pass to proto_tree_add_uint_format() so that we don't

throw a dissector error.  Fixes bug 348.

svn path=/trunk/; revision=15314
This commit is contained in:
Gerald Combs 2005-08-12 15:27:11 +00:00
parent c2c1614951
commit 86d66bc85c
1 changed files with 1 additions and 1 deletions

View File

@ -4137,7 +4137,7 @@ dissect_dcerpc_cn_bs_body (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* Desegmentation required - bail now, but give the user a hint that desegmentation might be done later.
*/
proto_tree_add_uint_format(tree, hf_dcerpc_cn_deseg_req, tvb, offset,
tvb_reported_length_remaining(tvb, offset),
0,
tvb_reported_length_remaining(tvb, offset),
"[DCE RPC: %u byte%s left, desegmentation might follow]",
tvb_reported_length_remaining(tvb, offset),