From Sean Van Gorder:
When Wireshark attempts to read an SNMP packet with a variable-bindings item with an OID containing an index string which includes an entry of type "Unsigned32", Wireshark will stop dissecting the packet at this index entry and end with the error: [Dissector bug, protocol SNMP: proto.c:2761: failed assertion "DISSECTOR_ASSERT_NOT_REACHED"] https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5883 svn path=/trunk/; revision=37558
This commit is contained in:
parent
70f488cea7
commit
2477298026
|
@ -588,7 +588,7 @@ dissect_snmp_VarBind(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
|
|||
if (IS_FT_INT(k->ft_type)) {
|
||||
proto_tree_add_int(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
|
||||
} else { /* if it's not an unsigned int let proto_tree_add_uint throw a warning */
|
||||
proto_tree_add_uint(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
|
||||
proto_tree_add_uint64(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
|
||||
}
|
||||
key_start++;
|
||||
key_len--;
|
||||
|
|
|
@ -690,7 +690,7 @@ dissect_snmp_VarBind(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
|
|||
if (IS_FT_INT(k->ft_type)) {
|
||||
proto_tree_add_int(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
|
||||
} else { /* if it's not an unsigned int let proto_tree_add_uint throw a warning */
|
||||
proto_tree_add_uint(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
|
||||
proto_tree_add_uint64(pt_name,k->hfid,tvb,name_offset,name_len,(guint)subids[key_start]);
|
||||
}
|
||||
key_start++;
|
||||
key_len--;
|
||||
|
|
Loading…
Reference in New Issue