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: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 6 Mar 2000 16:47:29 -0800 (PST)
> 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.

Nope, I haven't done anything on it yet.

Note that those functions should also do run-time checks themselves,
e.g. if you try to set the value of an integral-type field to a pointer,
or try to set the value of a pointer-type field to an integral value,
it should panic with a "g_assert_not_reached()" call.