https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5025
Summary: Exhausted the WTAP_ENCAP numbers with pending patch
Product: Wireshark
Version: SVN
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: Major
Priority: Low
Component: TShark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: tom_cook_oregon@xxxxxxxxx
Build Information:
Version 1.5.0 (SVN Rev 33585 from /trunk)
Copyright 1998-2010 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, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jul
19 2010), with AirPcap.
Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1
beta5
(packet.dll version 4.1.0.1452), based on libpcap version 1.0.0, GnuTLS 2.8.5,
Gcrypt 1.4.5, without AirPcap.
Built using Microsoft Visual C++ 9.0 build 30729
--
I have a couple new encapsulation types that I have added to the most recent
update from SVN / trunk. Below is my code:
#define WTAP_ENCAP_IPNET 124
#define WTAP_ENCAP_SOCKETCAN 125
#define WTAP_ENCAP_IEEE802_11_NETMON_RADIO 126
#define WTAP_ENCAP_ETHERNETTAP 127
#define WTAP_ENCAP_VW_WLAN_RADIOTAP 128
#define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types()
When I open a file that contains the WTAP_ENCAP_VW_WLAN_RADIOTAP type I trip
the assert on line 201 of frame_data.c:
g_assert(phdr->pkt_encap <= G_MAXINT8);
How do I get around this one???
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.