Ethereal-dev: Re: [Ethereal-dev] My plugin worked with 0.10.10 but notwith0.10.11(Windows dll)

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

Date: Tue, 21 Jun 2005 18:28:50 +0200
Ok Thanks all,  I'll recompile.


|---------+--------------------------------->
|         |           "Lars Ruoff"          |
|         |           <Lars.Ruoff@xxxxxxxxxx|
|         |           >                     |
|         |           Sent by:              |
|         |           ethereal-dev-bounces@e|
|         |           thereal.com           |
|         |                                 |
|         |                                 |
|         |           21/06/2005 18:04      |
|         |           Please respond to     |
|         |           Ethereal development  |
|         |                                 |
|---------+--------------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       "Ethereal development" <ethereal-dev@xxxxxxxxxxxx>                                                           |
  |       cc:                                                                                                                    |
  |       Subject:  Re: [Ethereal-dev] My plugin worked with 0.10.10 but  notwith0.10.11(Windows dll)                            |
  >------------------------------------------------------------------------------------------------------------------------------|




There is no fix other than recompiling your plugin for 0.10.11 (or going
back to Ethereal 0.10.10).

The problem is that your dissector is expecting a different layout of some
proto.h structure compared to what ethereal 0.10.11 is actually passing him
along.
so *ptr->p_id (or any other field of that sturcture) is now referencing
another part of memory from that structure.

----- Original Message -----
From: "Oren Mazor" <oren.mazor@xxxxxxxxx>
To: "Ethereal development" <ethereal-dev@xxxxxxxxxxxx>
Sent: Tuesday, June 21, 2005 5:30 PM
Subject: Re: [Ethereal-dev] My plugin worked with 0.10.10 but
notwith0.10.11(Windows dll)


> On Tue, 21 Jun 2005 11:25:08 -0400, Lars Ruoff <Lars.Ruoff@xxxxxxxxxx>
> wrote:
>
> >> Indeed. I just updated to 11 on a production box and my dissector's
> >> failing pretty valiantly on line 2767 of proto.c
> >>
> >> DISSECTOR_ASSERT(*ptr->p_id == -1 || *ptr->p_id == 0)
> >>
> >> just when i actually really needed it to work...
> >>
> >> dont think that's very related to the problem at hand, no?
> >
> > Yes, it is!
> >
>
> super! is there a [quick, or not so much] fix? other than hunting for a
> 0.10.10 rpm?
>
> I'm trying to track down what's happening here, and what field is not -1
> or 0 when it gets to that point...
>
> >
> >> On 6/21/05, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
> >> > Gerald,
> >> >
> >> > On Tue, Jun 21, 2005 at 03:46:29PM +0200, Lars Ruoff wrote:
> >> > > Plugins (at least on Windows) have become binary-incompatible
> >> between
> >> > > 0.10.10 and 0.10.11 .
> >> > > I warned about that in
> >> > > http://www.ethereal.com/lists/ethereal-dev/200505/msg00015.html,
but
> > it
> >> > > didn't get much attention.
> >> >
> >> > I think this should also go into the news file. Incompatible changes
> >> to
> >> > the command line (remove, changed parameters) should also be noted.
> >> >
> >> > Thanks
> >> >        Joerg
> >> > --
> >> > Joerg Mayer
> >> <jmayer@xxxxxxxxx>
> >> > We are stuck with technology when what we really want is just stuff
> >> that
> >> > works. Some say that should read Microsoft instead of technology.
> >> >
> >> > _______________________________________________
> >> > Ethereal-dev mailing list
> >> > Ethereal-dev@xxxxxxxxxxxx
> >> > http://www.ethereal.com/mailman/listinfo/ethereal-dev
> >> >
> >>
> >> _______________________________________________
> >> Ethereal-dev mailing list
> >> Ethereal-dev@xxxxxxxxxxxx
> >> http://www.ethereal.com/mailman/listinfo/ethereal-dev
> >
>
>
>
> --
> BOFH excuse #439:
>
> Hot Java has gone cold
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev