Wireshark-bugs: [Wireshark-bugs] [Bug 4209] New: About de_sup_codec_list(.) in packet-gsm_a_dtap

Date: Thu, 5 Nov 2009 09:45:51 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4209

           Summary: About de_sup_codec_list(.) in packet-gsm_a_dtap.c
           Product: Wireshark
           Version: 1.3.x (Experimental)
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: yychencsie@xxxxxxxxxx


Build Information:
Version 1.3.2

Copyright 1998-2009 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.16.6, with GLib 2.22.2, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, without Python, with GnuTLS 2.8.1, with Gcrypt
1.4.4, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Nov  3
2009), with AirPcap, with new_packet_list.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.1.1
(packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.1, Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

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

Check the man page and http://www.wireshark.org for more information.
--
In Revision 29963, there is enhancement for decoding Supported codec list IE.
But in de_sup_codec_list(.), the current_offset update seems to be incorrect.

The suggested patch is

packet-gsm_a_dtap.c (revision 30759) line 3505

old: 
curr_offset = curr_offset + length;

new:
curr_offset++;


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