Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46360 - tethereal MobileIPv6 protocol dissector fatal exception
Summary: tethereal MobileIPv6 protocol dissector fatal exception
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 07:18 UTC by Lorand Jakab
Modified: 2004-07-05 06:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mobile IPv6 protocol dissector patch (packet-mip6.diff,786 bytes, patch)
2004-03-31 07:20 UTC, Lorand Jakab
Details | Diff
capture file to reproduce the crash (binding_update.pcap,300 bytes, application/octet-stream)
2004-03-31 07:23 UTC, Lorand Jakab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorand Jakab 2004-03-31 07:18:30 UTC
tethereal ends with a fatal exception when trying to decode a MobileIPv6 Binding Update packet if the output format is set to PDML

Reproducible: Always
Steps to Reproduce:
1.Capture MobileIPv6 traffic containing at least one Binding Update
2.save to capture.pcap
3.tethereal -r capture.pcap -T pdml

Actual Results:  
The program decodes the Binding Update packet until the Mobility Options field
then craches with the XCEPT_GROUP_ETHEREAL exception


I filed this bug first on the ethereal-users mailing list, they sent me a patch.

Index: packet-mip6.c
===================================================================
RCS file: /usr/local/cvsroot/ethereal/packet-mip6.c,v
retrieving revision 1.6
diff -c -r1.6 packet-mip6.c
*** packet-mip6.c       21 Dec 2003 05:51:33 -0000      1.6
--- packet-mip6.c       30 Mar 2004 17:51:25 -0000
***************
*** 441,447 ****
      if (!mip6_tree)
          return len;
  
!     ti = proto_tree_add_text(mip6_tree, tvb, offset, len - offset, 
                               "Mobility Options");
      opts_tree = proto_item_add_subtree(ti, ett_mip6);
  
--- 441,447 ----
      if (!mip6_tree)
          return len;
  
!     ti = proto_tree_add_text(mip6_tree, tvb, offset, len, 
                               "Mobility Options");
      opts_tree = proto_item_add_subtree(ti, ett_mip6);
Comment 1 Lorand Jakab 2004-03-31 07:20:06 UTC
Created attachment 28449 [details, diff]
mobile IPv6 protocol dissector patch
Comment 2 Lorand Jakab 2004-03-31 07:23:20 UTC
Created attachment 28451 [details]
capture file to reproduce the crash
Comment 3 Lorand Jakab 2004-03-31 07:25:23 UTC
This patch will be included in the future versions of ethereal, as it is already commited to CVS, but I think the patch should be included in the currently available ebuilds.
Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-07-05 06:34:44 UTC
this is fixed in 0.10.4 (which is in portage).