Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] What's wrong with 1.3?

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 13 Nov 2009 00:16:57 +0100
On Thu, Nov 12, 2009 at 10:58:35PM +0100, David Aggeler wrote:
> I now have the latest 1.2 and the latest 1.3 SVNs in parallel use. with 
> the exact same copy of packet-dcm.c.
> In 1.2 things behave as expected (both with 1.2 and 1.3 version 
> packet-dcm.c).
> 
> In 1.3 I had yesterday:
> - Debugging problems in MSEE (function is terminated somewhere in the 
> middle)
> - Setting a simple int in a structure causes a crash (heap error)
> I'd usually contribute this to accessing deallocated memory, but why 
> does the same thing work in 1.2? I'd also say, that about two month ago, 
> I did not see this in 1.3.
> 
> Today I get an a DISSECOTOR_ASSERT_NOT_REACHED in a super simple 
> proto_tree_add_int_format()
> tvb is 28670 bytes long, the offset is only 622 and I'd like to mark 4 
> bytes.
> 
> Is this to be expected with coding work going on?

There is one thing that may have changed between 1.2 and 1.3:
Maybe the type in the hf field is no longer acceptable. The
required field types are checked more strictly in 1.3.

HTH

   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.