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

Wireshark-bugs: [Wireshark-bugs] [Bug 3071] New: Incorrect address structure assigned for find_c

Date: Tue, 18 Nov 2008 17:29:11 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3071

           Summary: Incorrect address structure assigned for
                    find_conversation()
           Product: Wireshark
           Version: 1.0.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: michael.lum@xxxxxxxxxxxxxxxxx


Build Information:
Version 1.0.4-StarSolutions-1

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
packet-wsp.c from 1.0.4 source, 2nd to last line below (line 4675 in file),

should be address_ipv6 not address_ipv4 ?

------------------
                case BT_IPv6:
                        /*

                         * IPv6.
                         */
                        if (address_len != 16) {
                                /*
                                 * Say what?
                                 */
                                goto unknown_address_type;
                        }
                        tvb_get_ipv6(tvb, offset, &address_ipv6);
                        if (tree) {
                                proto_tree_add_ipv6 (addr_tree,
                                    hf_address_ipv6_addr,
                                    tvb, offset, 16, (guint8 *)&address_ipv6);
                        }

                        /*
                         * Create a conversation so that the
                         * redirected session will be dissected
                         * as WAP.
                         */
                        redir_address.type = AT_IPv6;
                        redir_address.len = 16;
                        redir_address.data = (const guint8 *)&address_ipv4;
                        /* Find a conversation based on redir_address and
pinfo->dst */


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.