wireshark/epan
Guy Harris 3295912210 Try to handle lines with NULs in them. They aren't valid lines, but at
least one fuzzed capture contains them, and using ep_strndup() to copy
the line means that the actual amount of memory allocated for the copy
will be less than the length of the line, and code that parses the line
assuming that there are value_len+1 bytes in the buffer (including the
terminating NUL), such as the current parsing code, will break.

We should really have code in Wireshark to handle counted strings, and
have those be what we extract from packets.  (And we should handle
non-UTF-8/non-UTF-16 encodings, and octet sequences that aren't valid
strings for their encoding, and handle display of invalid strings and
non-printable characters, and....).

Use g_ascii_ versions of various isXXX() and to{upper,lower}(), so we
don't get surprised by the behavior of the user's locale.

svn path=/trunk/; revision=48490
2013-03-22 23:18:30 +00:00
..
crypt Bugfix Decryption Key Management dialog, bug 8446 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8446) 2013-03-15 01:31:53 +00:00
dfilter From beroset: 2013-03-19 19:02:25 +00:00
dissectors Try to handle lines with NULs in them. They aren't valid lines, but at 2013-03-22 23:18:30 +00:00
ftypes From beroset: 2013-03-19 19:02:25 +00:00
wmem From beroset: 2013-03-20 01:18:10 +00:00
wslua Added TvbRange uncompress(). 2013-03-19 17:15:27 +00:00
wspython From David Arnold: 2013-03-12 06:53:39 +00:00
CMakeLists.txt From David Arnold via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8490 2013-03-22 17:27:17 +00:00
Makefile.am 1.9.1 → 1.9.2. 2013-03-18 22:18:52 +00:00
Makefile.common Actually remove slab.h from the makefile. 2013-03-10 15:10:27 +00:00
Makefile.nmake Fix copy-paste error introduced in r48021 2013-03-02 23:30:21 +00:00
addr_and_mask.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
addr_and_mask.h
addr_resolv.c [-Wmissing-prototypes] 2013-03-21 17:52:43 +00:00
addr_resolv.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
address.h From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 : 2013-03-07 18:37:58 +00:00
address_to_str.c From beroset: 2013-03-15 05:42:50 +00:00
adler32.c Fix a bunch of warnings. 2012-12-26 05:57:06 +00:00
adler32.h Fix a bunch of warnings. 2012-12-26 05:57:06 +00:00
afn.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
afn.h
aftypes.h
arcnet_pids.h
arptypes.h
asm_utils.c [-Wmissing-prototypes] 2013-03-16 08:52:09 +00:00
asm_utils.h
asm_utils_win32_x86.asm
asn1.c From beroset: 2013-03-20 01:18:10 +00:00
asn1.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
atalk-utils.c From beroset: 2013-03-20 01:18:10 +00:00
atalk-utils.h
ax25_pids.h Ethereal -> Wireshark; Update FSF address. 2012-12-04 14:23:53 +00:00
base64.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
base64.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
bitswap.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
bitswap.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
bridged_pids.h
camel-persistentdata.c From beroset: 2013-03-20 01:18:10 +00:00
camel-persistentdata.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
charsets.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
charsets.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
chdlctypes.h
circuit.c From beroset: 2013-03-20 01:18:10 +00:00
circuit.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
codecs.c From beroset: 2013-03-20 01:18:10 +00:00
codecs.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
column-utils.c From beroset: 2013-03-20 01:18:10 +00:00
column-utils.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
column.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
column.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
column_info.h
conv_id.h
conversation.c From beroset: 2013-03-20 01:18:10 +00:00
conversation.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc8-tvb.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
crc8-tvb.h
crc16-tvb.c Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc16-tvb.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc32-tvb.c Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc32-tvb.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
diam_dict.h replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned int" instead. 2013-01-04 05:22:43 +00:00
diam_dict.l [-Wmissing-prototypes] 2013-03-16 08:52:09 +00:00
dissector_filters.c From beroset: 2013-03-20 01:18:10 +00:00
dissector_filters.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
doxygen.cfg.in
dtd.h
dtd_grammar.lemon [-Wmissing-prototypes] 2013-03-16 08:52:09 +00:00
dtd_parse.h
dtd_parse.l [-Wmissing-prototypes] 2013-03-16 08:52:09 +00:00
dtd_preparse.l [-Wmissing-prototypes] 2013-03-16 08:52:09 +00:00
eap.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
emem.c More block allocator fixes and cleanup. Most of the issues seem to have been 2013-03-20 00:04:01 +00:00
emem.h Remove the emem slab feature (sl_* functions) completely, replacing it with 2013-03-09 20:02:19 +00:00
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2013-03-17] 2013-03-17 14:03:28 +00:00
epan.c Bugfix Lua pinfo.cols.protocol not holding value in postdissector 2013-02-25 17:32:25 +00:00
epan.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
epan_dissect.h Revert changes to ep_ allocator, revert edt ref-counting. 2012-10-10 19:05:30 +00:00
etypes.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
ex-opt.c From beroset: 2013-03-19 04:54:30 +00:00
ex-opt.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
except.c From beroset: 2013-03-20 01:18:10 +00:00
except.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
exceptions.h Define a new exception for reassembly errors, and throw it in several cases 2013-03-02 16:39:56 +00:00
exntest.c
expert.c From beroset: 2013-03-20 01:18:10 +00:00
expert.h Move expert_group_vals expert_severity_vals constant definitions to expert.h 2013-03-02 01:00:20 +00:00
filesystem.c Use explicit casts. 2013-03-05 22:15:20 +00:00
filesystem.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
filter_expressions.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
filter_expressions.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
follow.c From beroset: 2013-03-20 01:18:10 +00:00
follow.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
frame_data.c From beroset: 2013-03-20 01:18:10 +00:00
frame_data.h Fix the leaking of packet comments, i.e. the rest of 2013-03-15 18:04:50 +00:00
frequency-utils.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
frequency-utils.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
funnel.c From beroset: 2013-03-20 01:18:10 +00:00
funnel.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
garrayfix.h
gcp.c From beroset: 2013-03-14 06:47:05 +00:00
gcp.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
geoip_db.c From beroset: 2013-03-21 14:29:58 +00:00
geoip_db.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
golay.c
golay.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
greproto.h
guid-utils.c From beroset: 2013-03-20 01:18:10 +00:00
guid-utils.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
h225-persistentdata.c From beroset: 2013-03-20 01:18:10 +00:00
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
in_cksum.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
ip_opts.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
ipproto.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
ipproto.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
ipv4.c When comparing fvalue_t we don't modify them, make arguments const. 2012-11-06 13:28:59 +00:00
ipv4.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
ipv6-utils.h
lapd_sapi.h
libwireshark.vcproj Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
llcsaps.h
next_tvb.c From beroset: 2013-03-20 01:18:10 +00:00
next_tvb.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
nlpid.h
nstime.c
nstime.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
oids.c [-Wmissing-prototypes] 2013-03-21 17:52:43 +00:00
oids.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
osi-utils.c From beroset: 2013-03-20 01:18:10 +00:00
osi-utils.h
oui.h From Andrei Emeltchenko: Add OUI_BLUETOOTH part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7633 bt-oui: Add decoding Bluetooth High Speed over wireless 2012-11-04 12:47:02 +00:00
packet.c From beroset: 2013-03-14 06:46:29 +00:00
packet.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
packet_info.h Don't include wmem.h in packet_info.h, just use the struct name directly. 2013-03-02 21:28:29 +00:00
params.h gerald@ethereal.com -> gerald@wireshark.org 2013-01-31 21:02:23 +00:00
pint.h
plugins.c From beroset: 2013-03-17 22:16:39 +00:00
plugins.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
ppptypes.h
prefs-int.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
prefs.c From beroset: 2013-03-20 01:18:10 +00:00
prefs.h Add interface options preferences. 2013-03-13 12:38:08 +00:00
proto.c Remove slab.h and replace its last remaining usage with glib slices. 2013-03-10 14:52:14 +00:00
proto.h From Steve Magnani via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8339 2013-03-04 14:18:18 +00:00
ptvcursor.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
radius_dict.l From beroset: 2013-03-21 14:29:58 +00:00
range.c From beroset: 2013-03-20 01:18:10 +00:00
range.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
reassemble.c From beroset: 2013-03-15 16:36:31 +00:00
reassemble.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
reassemble_test.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
reedsolomon.c
reedsolomon.h
report_err.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
report_err.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
req_resp_hdrs.c Fix a bunch of warnings. 2012-12-26 05:57:06 +00:00
req_resp_hdrs.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
rtp_pt.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
sctpppids.h
show_exception.c Define a new exception for reassembly errors, and throw it in several cases 2013-03-02 16:39:56 +00:00
show_exception.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
sigcomp-udvm.c From beroset: 2013-03-20 01:18:10 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c From beroset: 2013-03-20 01:18:10 +00:00
sigcomp_state_hdlr.h
sminmpec.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
sna-utils.c From beroset: 2013-03-20 01:18:10 +00:00
sna-utils.h
stat_cmd_args.c From beroset: 2013-03-20 01:18:10 +00:00
stat_cmd_args.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
stats_tree.c From beroset: 2013-03-16 08:12:29 +00:00
stats_tree.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
stats_tree_priv.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
stream.c From beroset: 2013-03-19 04:54:30 +00:00
stream.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
strutil.c From beroset: 2013-03-18 21:16:23 +00:00
strutil.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
t35.c
t35.h
tap-voip.h
tap.c From beroset: 2013-03-20 01:18:10 +00:00
tap.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
tcap-persistentdata.c From beroset: 2013-03-17 22:16:39 +00:00
tcap-persistentdata.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
tfs.c Remove some "duplicate" TFS in 802.11 field capability Add in use / not in use in common TFS 2013-02-24 19:09:04 +00:00
tfs.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
time_fmt.h
timestamp.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
timestamp.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
to_str.c From beroset: 2013-03-18 21:16:23 +00:00
to_str.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
tpg.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:48:30 +00:00
tpg.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
tvbparse.c From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 : 2013-03-02 23:05:27 +00:00
tvbparse.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
tvbtest.c Remove obsolete & incorrect comment: 2012-10-29 16:19:31 +00:00
tvbuff-int.h
tvbuff.c From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 : 2013-03-02 23:05:27 +00:00
tvbuff.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
uat-int.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
uat.c From beroset: 2013-03-18 20:44:36 +00:00
uat.h From beroset: 2013-03-12 06:40:13 +00:00
uat_load.l Add %option noinput to a bunch of Flex files, as we aren't using the 2013-02-10 19:13:07 +00:00
value_string.c From beroset: 2013-03-20 01:18:10 +00:00
value_string.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
x264_prt_id.h
xdlc.c [-Wmissing-prototypes] 2013-03-16 08:52:09 +00:00
xdlc.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00