Ethereal-dev: [Ethereal-dev] Re: [Ethereal-users] Error loading 8M Capture in V0.10.8 -> Patch

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

From: "Anders Broman (AL/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Wed, 12 Jan 2005 10:02:04 +0100
Hi,
The problem ist that there is h225 traffic between port 2065 and 1720 which gets interpreted as dslw traffic and the dlsw dissector crashes with a negative length. Included a patch to packet-dlsw.c to check for negative lengt and bail out if that's the case.
I'm not shure if anything could be made to handle this case in a better way.
Included the packet which causes the crash and the patch.
Best regards
Anders <<dlsw.diff>>  <<offendingPacket.pcap>> 
-----Original Message-----
From: ethereal-users-bounces@xxxxxxxxxxxx <mailto:ethereal-users-bounces@xxxxxxxxxxxx> [mailto:ethereal-users-bounces@xxxxxxxxxxxx]
Sent: den 5 januari 2005 14:03
To: Ethereal-Users
Subject: [Ethereal-users] Error loading 8M Capture in V0.10.8

When I try and load a particular 8M VoIP capture using V0.10.8 it gets 81% of the way through loading the capture and encounters an error. This error is:- 
"** Error** : file prot.c : line 2072: assertion failed: (*length>=0) aborting.." 
If someone can help I'll email the zipped trace. If I try loading this in V0.10.7 it works fine. If I try loading other VoIP traces, or larger data traces in 0.10.8 they all work fine. 
Keith French.

Attachment: dlsw.diff
Description: Binary data

Attachment: offendingPacket.pcap
Description: Binary data