| Summary: | tethereal MobileIPv6 protocol dissector fatal exception | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lorand Jakab <lorand.jakab> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
mobile IPv6 protocol dissector patch
capture file to reproduce the crash |
||
Created attachment 28449 [details, diff]
mobile IPv6 protocol dissector patch
Created attachment 28451 [details]
capture file to reproduce the crash
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. this is fixed in 0.10.4 (which is in portage). |
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);