Ethereal-users: Re: [Ethereal-users] "file proto.c: line 1651: should not be reached" in v0.9.9.

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

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Mon, 27 Jan 2003 23:38:58 +0100
Guy Harris wrote:
>I looked for all calls to "proto_tree_add_int()", and didn't find any
>that were putting into the protocol tree anything other than an FT_INT8,
>FT_INT16, FT_INT24, or FT_INT32; if there is one, it's going to take
>more work to find, so, yes, knowing what protocol has the problem would
>make it a lot easier to fix the problem.
>

It could also be some dissector that calls proto_tree_add_int_hidden or proto_add_int_format since they are using
proto_tree_add_int (and it might not even be enough to search for those).

I also made some checks in some dissectors that had been updated between 0.9.8 and 0.9.9, but couldn't
find any fault in them regarding this, so some more details are probably needed.