Ethereal-dev: RE: [Ethereal-dev] Patch epan/proto.c - proto_tree_append_string( )

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 27 Oct 2003 16:30:42 +0100
Oops - I sent an incorrect patch. This one is OK.

However it's still unclear to me why an fvalue_free() call before the new
fvalue_set() call yields a core dump.

Regards,

Olivier

| -----Original Message-----
| From: Biot Olivier
| 
| Hi all,
| 
| Attached patch provides append functionality to FT_STRING and 
| FT_STRINGZ
| field values. This is not the same as 
| proto_item_append_text() which only
| appends a character string to the UI representation of the 
| header field.
| 
| I tested the code with my new WSP dissector and it works.
| 
| Please review and check in (feel free to find a more suitable 
| function name :)

Attachment: epan_proto.diff
Description: Binary data