Ethereal-cvs: [Ethereal-cvs] rev 16035: /trunk/epan/: proto.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 28 Sep 2005 07:08:59 GMT
User: obiot
Date: 2005/09/28 02:08 AM

Log:
 The TRY_TO_FAKE_THIS_ITEM() speed optimization has a side effect in that it
 will only process FT_PROTOCOL fields. As a result, proto_item_append_string()
 calls may throw a dissector exception, as only a FT_STRING or FT_STRINGZ can be
 appended to with this call.
 
 In order to prevent these dissector assertions, silently return from the append
 call if the field is a FT_PROTOCOL.
 
 Note that when the tree is visible, the updates of the fields occur normally,
 as expected.

Directory: /trunk/epan/
  Changes    Path          Action
  +4 -0      proto.c       Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16035&view=rev