Ethereal-dev: Re: [ethereal-dev] Ethereal segfault

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 06 Mar 2000 18:35:04 -0600
On Mon, Mar 06, 2000 at 01:53:13PM -0800, Guy Harris wrote:
> 
> Yes, this complicates some things - but I'm beginning to suspect, given
> the number of errors I've found in calls to "proto_tree_add_text()"
> (bear in mind that I've only checked in fixes for *some* of the ones
> I've found, so there's more to come...), that we'd be better off for it,
> even with the added complications.  It's almost always better to get a
> compiler error than a run-time error....

Yes, it's better to complicate the functions in proto.c if it will
help find compile-time errors in the protocol dissectors.

I can start coding up those changes if you haven't started already.

--gilbert