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 7864] New: Error in AUXILIARY SECURITY HEADER Parsing for

Date: Mon, 15 Oct 2012 03:49:07 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7864

           Summary: Error in AUXILIARY SECURITY HEADER Parsing for
                    802.15.4 in dissect_ieee802154_common function
           Product: Wireshark
           Version: unspecified
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: High
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: rakesh.kumar@xxxxxxxxxxxxxxx
                CC: rakesh.kumar@xxxxxxxxxxxxxxx


Build Information:
Version 1.9.0 (SVN Rev 45465 from /trunk)

Copyright 1998-2012 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 (32-bit) with GTK+ 2.24.10, with Cairo 1.10.2, with Pango 1.30.0, with
GLib 2.32.2, with WinPcap (4_1_2), with libz 1.2.5, without POSIX capabilities,
without libnl, with SMI 0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python,
with GnuTLS 2.12.18, with Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built Oct 12 2012), with AirPcap.

Running on 32-bit Windows 7, build 7600, with WinPcap version 4.1.2 (packet.dll
version 4.1.0.2001), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 10.0 build 30319

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

Check the man page and http://www.wireshark.org for more information.
--
File name : packet-ieee802154.c
Function name : dissect_ieee802154_common

Section :     /*=====================================================
     * AUXILIARY SECURITY HEADER
     *=====================================================
     */

 if (packet->key_id_mode == KEY_ID_MODE_KEY_EXPLICIT_8) {
          packet->key_source.addr64 = tvb_get_ntoh64(tvb, offset);
          proto_tree_add_uint64(field_tree, hf_ieee802154_aux_sec_key_source,
tvb, offset, 8, packet->key_source.addr64);
          proto_item_set_len(ti, 1 + 8);
          //offset += 4; // original

           offset += 8; // Raka...
        }

Offset should be +8 not +4 as in the code

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