Ethereal-dev: Re: SV: SV: [Ethereal-dev] iax2 dissector patch

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

From: Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Date: Wed, 03 Aug 2005 19:46:38 +0100
Richard van der Hoff wrote:
Anders Broman wrote:

Hi,
The problem seems to be the line:
  memset(hf_iax2_ies,0xff,sizeof(hf_iax2_ies));


Aaah, I see the problem now; it's the same as before - the memset is above a variable declaration in the function, which is illegal. It just needs to move below the declarations.

Here is yet another attempt at the patch to packet-iax2.c.

<sigh>. Why is it, that as soon as you submit a patch to a project, you find a bug in it?

This version of the patch fixes a bug in the timestamp calculation logic.

Richard

--
Richard van der Hoff <richardv@xxxxxxxxxxxxx>
Systems Analyst
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com