Ethereal-users: [Ethereal-users] Dissector Bug in H.248?

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Thu, 4 May 2006 20:28:48 +0200
On 5/3/06, Roger Mahler <roger.mahler@xxxxxxx> wrote:
> Hello
>
> How come I get "Dissector bug, Protocol H248" with the attached frame? 
> Am I doing something wrong with the Preference Settings or is there a 
> bug in the dissector.

Bug of mine:
To fix please change the lines:

<			memcpy((guint8*)m->hi_addr,hi_addr->data,4);
<			memcpy((guint8*)m->lo_addr,lo_addr->data,4);
--
>			memcpy((guint8*)&(m->hi_addr),hi_addr->data,4);
>			memcpy((guint8*)&(m->lo_addr),lo_addr->data,4);

I've checked in the fix in revision 18093.

Brg
Anders