Wireshark-bugs: [Wireshark-bugs] [Bug 1532] Problems with fw1 dissector
Date: Thu, 12 Apr 2007 15:40:24 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1532





------- Comment #1 from kgolomb@xxxxxxxxxxxxx  2007-04-12 15:40 GMT -------
Created an attachment (id=625)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=625&action=view)
Patch for 2 packet-fw1.c Issues

Fixes two issues:
1) interface_name is allocated iface_len+1 bytes but a buffer length of iface
len is passed in when the string is copied.  This truncates the string to 9
characters if the interface_name is 10 characters long.

2) interface_name added to tree with proto_tree_add_string_format and is
missing the initial value parameter when called.  Even if this is added the
field can not be filtered on.  Adding the field with proto_tree_add_item fixes
both the tree display and the filtering issues.



-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.