Wireshark-bugs: [Wireshark-bugs] [Bug 8841] dissect_per_normally_small_nonnegative_whole_number

Date: Wed, 03 Jul 2013 08:51:25 +0000

Comment # 3 on bug 8841 from
From what I can see in dissect_per_length_determinant() source code, length
parameter is being assigned the value and not the length:

            *length = val;
            if(hf_index!=-1){
                pi = proto_tree_add_uint(tree, hf_index, tvb, (offset>>3)-1, 1,
*length);
                if (display_internal_per_fields)
                    proto_item_append_text(pi," %s", str);
                else
                    PROTO_ITEM_SET_HIDDEN(pi);
            }

Can you elaborate on the exact issue you are facing when using those functions?
There is something that I seem to be missing.


You are receiving this mail because:
  • You are watching all bug changes.