wireshark/epan
Jeff Morriss 5541c28ae6 Fix the very long loop reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8911 :
In parseFields() ensure that we have at least one byte so that callers
don't have to protect against it returning an offset which hasn't incremented.

Remove a couple of now-unnecessary length-remaining (aka "will the offset
move?") checks.

In some other checks, use tvb_ensure_length_remaining() rather than calling
tvb_length_remaining() and (potentially) THROWing an exception.  I'm not sure
if these are really necessary now or not...

svn path=/trunk/; revision=50450
2013-07-08 21:12:06 +00:00
..
crypt Update some of the old FSF addresses caught by the new licensecheck buildbot 2013-04-14 18:55:28 +00:00
dfilter makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes. 2013-06-25 15:32:49 +00:00
dissectors Fix the very long loop reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8911 : 2013-07-08 21:12:06 +00:00
ftypes Move a couple of time-related modules into wsutil. 2013-06-25 22:02:20 +00:00
wmem Add wmem_array_sort() which just hands off to the standard library's qsort(). 2013-07-06 17:47:32 +00:00
wslua Move a couple of time-related modules into wsutil. 2013-06-25 22:02:20 +00:00
wspython makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes. 2013-06-25 15:32:49 +00:00
CMakeLists.txt Simple growable array implementation for wmem. 2013-07-06 04:02:08 +00:00
Makefile.am create libfiledissectors.a during the autotools build 2013-06-21 00:08:20 +00:00
Makefile.common As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
Makefile.nmake makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes. 2013-06-25 15:32:49 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Add some comments around looking up names for port numbers. 2013-06-16 01:53:43 +00:00
addr_resolv.h Fix a whole bunch of doxygen warnings, mostly typos or renamed parameters. 2013-04-26 18:28:21 +00:00
address.h
address_to_str.c
adler32.c
adler32.h
afn.c
afn.h
aftypes.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c
asn1.h Remove all global variables in P1 dissector. Bug 8515 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8515) 2013-06-28 12:43:29 +00:00
atalk-utils.c
atalk-utils.h
ax25_pids.h
base64.c
base64.h
bitswap.c
bitswap.h
bridged_pids.h
camel-persistentdata.c
camel-persistentdata.h
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
codecs.c
codecs.h
column-utils.c Indentation/Whitespace cleanup; 2013-06-25 19:38:15 +00:00
column-utils.h
column.c Declare slist[] as static (reduces storage & code executed: *See below); 2013-06-30 23:03:20 +00:00
column.h
column_info.h
conv_id.h
conversation.c New Qt feature: Show related packet list items in the frame number 2013-07-08 16:54:18 +00:00
conversation.h New Qt feature: Show related packet list items in the frame number 2013-07-08 16:54:18 +00:00
crc8-tvb.c
crc8-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
diam_dict.h Fix another dozen or so files with bad FSF addresses as caught by licensecheck. 2013-04-16 00:00:09 +00:00
diam_dict.l
dissector_filters.c
dissector_filters.h
doxygen.cfg.in Move the contents of wsar_html/core to wsar_html. Create tag files for 2013-04-30 00:27:02 +00:00
dtd.h
dtd_grammar.lemon
dtd_parse.h Make the minimum supported GLib version 2.16. 2013-05-20 17:27:05 +00:00
dtd_parse.l
dtd_preparse.l
eap.h
emem.c Rework wmem scoping limits so that users can still get a handle to a pool when 2013-06-19 18:28:13 +00:00
emem.h
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2013-04-14] 2013-04-14 14:03:29 +00:00
epan.c Add expert info configuration framework. Bug 2412 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2412). 2013-05-24 17:59:36 +00:00
epan.h Turn "packet_is_ssl()" into a general "does the packet whose dissection 2013-05-22 23:02:19 +00:00
epan_dissect.h
etypes.h etypes.h needs value_string.h 2013-06-19 14:56:11 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h Add to tvbuffs a "fragment length" field; if the tvbuff represents the 2013-04-18 19:22:24 +00:00
exntest.c Add to tvbuffs a "fragment length" field; if the tvbuff represents the 2013-04-18 19:22:24 +00:00
expert.c Remove unused data structures from new expert code. Cleans up another ~17KB 2013-07-06 16:11:36 +00:00
expert.h Differentiate "Disabled" from "Unknown" and provide macros for the enumerated values. 2013-07-02 20:08:49 +00:00
exported_pdu.c Add export of SS7 OPC/DPC 2013-06-19 21:49:12 +00:00
exported_pdu.h Add export of SS7 OPC/DPC 2013-06-19 21:49:12 +00:00
filesystem.c Put a space between "because" and the next word. 2013-06-03 02:08:13 +00:00
filesystem.h
filter_expressions.c
filter_expressions.h
follow.c WS_DLL_PUBLIC is now always WS_DLL_PUBLIC_NOEXTERN with "extern" added; 2013-07-03 01:43:39 +00:00
follow.h
frame_data.c Un-shadow a couple of variables. 2013-05-15 17:49:45 +00:00
frame_data.h Move a couple of time-related modules into wsutil. 2013-06-25 22:02:20 +00:00
frequency-utils.c
frequency-utils.h
funnel.c
funnel.h
garrayfix.h
gcp.c
gcp.h
geoip_db.c
geoip_db.h
golay.c
golay.h
greproto.h Peter Van Eynde 2013-05-11 10:46:36 +00:00
guid-utils.c
guid-utils.h
h225-persistentdata.c
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h Add expert info to dissect_ip_tcp_options(). The proto_tree_add_text seems a bit duplicative, but the byte highlighting over the whole option is nice. 2013-06-30 03:16:32 +00:00
ipproto.c
ipproto.h
ipv4.c
ipv4.h
ipv6-utils.h
lapd_sapi.h
libwireshark.vcproj
llcsaps.h
next_tvb.c
next_tvb.h
nlpid.h nlpid.h requires value_string.h 2013-04-23 16:59:09 +00:00
oids.c Pretify dissection of date and Time. 2013-06-12 15:08:08 +00:00
oids.h Pretify dissection of date and Time. 2013-06-12 15:08:08 +00:00
osi-utils.c
osi-utils.h
oui.h Add dissection of Aruba Networks Vendor Specific stuff. With ArubaOS 6.2, there is a option to add AP Name in Beacon frame. 2013-04-22 12:31:04 +00:00
packet.c Add ability to export decrypted SSL/DTLS PDUs 2013-06-18 01:13:07 +00:00
packet.h Add ability to export decrypted SSL/DTLS PDUs 2013-06-18 01:13:07 +00:00
packet_info.h Add Doxygen boilerplate for some of our core modules and data structures. 2013-05-30 22:20:21 +00:00
params.h
pint.h
plugins.c
plugins.h
ppptypes.h
prefs-int.h
prefs.c From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8876 : 2013-06-30 21:58:25 +00:00
prefs.h Make colors used by colorize_filter_te_as_* as preferences. Bug 5413 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5413) 2013-06-28 03:03:36 +00:00
proto.c Fixes for tmp_fld_check_value(): 2013-07-08 05:59:07 +00:00
proto.h Make tree_is_expanded array static, add setter/getter function. 2013-07-07 16:33:49 +00:00
ptvcursor.h
radius_dict.l
range.c
range.h
reassemble.c From Anthony Coddington: 2013-06-04 04:23:20 +00:00
reassemble.h When we throw a reassembly error, remember the error, so that, if we 2013-04-18 02:31:45 +00:00
reassemble_test.c
reedsolomon.c
reedsolomon.h
report_err.c
report_err.h
req_resp_hdrs.c Add an optimization to req_resp_hdrs_do_reassembly that shaves about 20% off 2013-05-24 02:31:26 +00:00
req_resp_hdrs.h
rtp_pt.h
sctpppids.h
show_exception.c proto_malformed SHOULD NOT be used outside of show_exception.c 2013-07-02 20:43:21 +00:00
show_exception.h proto_malformed SHOULD NOT be used outside of show_exception.c 2013-07-02 20:43:21 +00:00
sigcomp-udvm.c Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang 2013-04-22 21:26:24 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
sminmpec.h Change name on a define. 2013-04-16 18:12:56 +00:00
sna-utils.c
sna-utils.h
stat_cmd_args.c
stat_cmd_args.h
stats_tree.c
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c Define certain 'const char *...' arrays as static. 2013-07-01 15:41:05 +00:00
strutil.h Make the minimum supported GLib version 2.16. 2013-05-20 17:27:05 +00:00
t35.c
t35.h
tap-voip.h
tap.c
tap.h Add doxygen comments. 2013-05-03 17:33:13 +00:00
tcap-persistentdata.c
tcap-persistentdata.h
tfs.c From Oliver Gasser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8863 Add CAA support to DNS dissector 2013-07-03 16:46:29 +00:00
tfs.h From Oliver Gasser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8863 Add CAA support to DNS dissector 2013-07-03 16:46:29 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
timestats.h As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
to_str.c Rename octet_to_hex() to low_nibble_of_octet_to_hex() to indicate what 2013-06-28 22:52:24 +00:00
to_str.h Move a couple of time-related modules into wsutil. 2013-06-25 22:02:20 +00:00
tpg.c
tpg.h
tvbparse.c
tvbparse.h
tvbtest.c Add to tvbuffs a "fragment length" field; if the tvbuff represents the 2013-04-18 19:22:24 +00:00
tvbuff-int.h When we're dissecting the beginning of a fragmented packet that we 2013-04-20 02:53:57 +00:00
tvbuff.c Get rid of variable, 'end'. 2013-07-01 06:03:35 +00:00
tvbuff.h Add Doxygen boilerplate for some of our core modules and data structures. 2013-05-30 22:20:21 +00:00
uat-int.h Add a "hidden" array of UAT entry data to allow separation between UAT file syntax errors and "syntactically correct, but invalid field". Now UAT files load all entries into the "hidden" array (raw_data), but only adds valid ones to the user_data, which is used by the dissectors. 2013-04-22 02:10:49 +00:00
uat.c Add a "hidden" array of UAT entry data to allow separation between UAT file syntax errors and "syntactically correct, but invalid field". Now UAT files load all entries into the "hidden" array (raw_data), but only adds valid ones to the user_data, which is used by the dissectors. 2013-04-22 02:10:49 +00:00
uat.h
uat_load.l Add a "hidden" array of UAT entry data to allow separation between UAT file syntax errors and "syntactically correct, but invalid field". Now UAT files load all entries into the "hidden" array (raw_data), but only adds valid ones to the user_data, which is used by the dissectors. 2013-04-22 02:10:49 +00:00
value_string.c Revert part of r50415. As pointed out by Jakub, some of the value_string 2013-07-06 23:53:09 +00:00
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h