wireshark/epan
Guy Harris 4cb19d48f5 Use the messageLength field to indicate the message length.
Check it for sanity (and report errors), and use it to set the length of
the PTP packet tvbuff and the PTP top-level protocol item.

Bug: 10611
Change-Id: I9af6aad5f07d405ebb14885dc986a73e430d7bdb
Reviewed-on: https://code.wireshark.org/review/5967
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-12-22 03:33:42 +00:00
..
compress lzxpress: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang 2014-11-02 16:43:58 +00:00
crypt
dfilter DisplayFilter: Check also another fields with the same name 2014-12-18 11:02:37 +00:00
dissectors Use the messageLength field to indicate the message length. 2014-12-22 03:33:42 +00:00
ftypes Don't use <ctype.h> macros. 2014-10-17 01:26:27 +00:00
nghttp2 HTTP2: Update nghttp2 lib (0.6.7) 2014-12-15 07:58:36 +00:00
wmem Eliminate use of ctype.h routines. 2014-10-19 22:45:27 +00:00
wslua Handle "I can't map this for that file format" better. 2014-12-18 00:03:26 +00:00
CMakeLists.txt Bluetooth: Add generic Bluetooth dissector 2014-12-18 11:03:05 +00:00
CMakeListsCustom.txt.example Having CmakeListsCustom.txt in git defeats the purpose of its existence: 2014-09-18 07:02:00 +00:00
Makefile.am Create the compress module for compression functions. 2014-10-30 15:28:47 +00:00
Makefile.common Refactor "color" conversation filters 2014-12-10 09:04:00 +00:00
Makefile.nmake Create the compress module for compression functions. 2014-10-30 15:28:47 +00:00
addr_and_mask.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
addr_and_mask.h
addr_resolv.c Do not use packet scope memory outside packet dissectors 2014-12-21 18:30:33 +00:00
addr_resolv.h
address.h
address_to_str.c Replace ether_to_str with either address_to_str or tvb_ether_to_str. 2014-12-21 15:13:30 +00:00
afn.c
afn.h
aftypes.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
aftypes.h
app_mem_usage.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c Use guint8 for 8-bit unsigned numeric values. 2014-10-28 18:37:09 +00:00
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Support dissecting REAL (BER) data values 2014-12-03 09:02:05 +00:00
asn1.h Support dissecting REAL (BER) data values 2014-12-03 09:02:05 +00:00
atalk-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
atalk-utils.h
ax25_pids.h
bridged_pids.h
charsets.c Fix dissection of 7 bits ASCII/GSM strings when the bit offset is not byte aligned 2014-09-21 20:51:08 +00:00
charsets.h
chdlctypes.h
circuit.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
circuit.h
color_dissector_filters.c Use new color_dissector_filters.[ch] to refactor (color) conversation generation in GTK menus. 2014-12-19 07:59:28 +00:00
color_dissector_filters.h Use new color_dissector_filters.[ch] to refactor (color) conversation generation in GTK menus. 2014-12-19 07:59:28 +00:00
column-info.h Add support for multifields in custom column 2014-12-18 11:03:42 +00:00
column-utils.c Replace ax25_to_str and get_ax25_name with address_to_str. 2014-12-21 15:12:58 +00:00
column-utils.h
column.c Fixed memory leakage in col_cleanup. 2014-11-10 08:00:56 +00:00
column.h Make get_column_longest_string() static. 2014-09-27 18:29:31 +00:00
conv_id.h
conversation.c
conversation.h
conversation_debug.h
conversation_table.c Don't do unsafe pointer casting 2014-11-24 01:04:20 +00:00
conversation_table.h conversation_table: fix indent (use 4spaces) and add modelines info 2014-11-26 03:33:16 +00:00
crc6-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc6-tvb.h
crc8-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc8-tvb.h
crc10-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc10-tvb.h
crc16-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc16-tvb.h
crc32-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l
disabled_protos.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
disabled_protos.h
dissector_filters.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l Make some variables size_t, as values of that width are assigned to it. 2014-09-06 18:45:53 +00:00
dtd_preparse.l dtd_preparse : fix indent (Use tabs) 2014-11-14 09:58:18 +00:00
dvb_chartbl.c
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
emem.c Get rid of unnecessary includes of ctype.h. 2014-10-17 23:31:20 +00:00
emem.h
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2014-12-21] 2014-12-21 16:04:54 +00:00
epan-int.h
epan.c Add support for multifields in custom column 2014-12-18 11:03:42 +00:00
epan.h Add support for multifields in custom column 2014-12-18 11:03:42 +00:00
epan_dissect.h
etypes.h
ex-opt.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
ex-opt.h
except.c Don't use toupper() in the test program. 2014-10-20 09:04:44 +00:00
except.h
exceptions.h
exntest.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
expert.c expert.[hc] Minor changes: 2014-09-15 23:49:12 +00:00
expert.h expert.[hc] Minor changes: 2014-09-15 23:49:12 +00:00
exported_pdu.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
exported_pdu.h
filter_expressions.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
filter_expressions.h
follow.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
follow.h
frame_data.c Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
frame_data.h Qt: Packet list column sorting. 2014-10-06 21:10:11 +00:00
frame_data_sequence.c
frame_data_sequence.h
frequency-utils.c
frequency-utils.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
funnel.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
funnel.h
garrayfix.h
gcp.c Various minor changes: 2014-09-10 16:17:29 +00:00
gcp.h Various minor changes: 2014-09-10 16:17:29 +00:00
geoip_db.c Qt: Add the "Map" button to the Endpoints dialog. 2014-09-17 20:04:28 +00:00
geoip_db.h
golay.c
golay.h
greproto.h
guid-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
guid-utils.h
h225-persistentdata.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h
next_tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
next_tvb.h
nlpid.h
oids.c Use g_ascii_isalnum() rather than isalnum(). 2014-10-28 18:19:15 +00:00
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.c LLDP: Dissector for Hytec specific extensions added 2014-11-15 03:19:17 +00:00
oui.h LLDP: Dissector for Hytec specific extensions added 2014-11-15 03:19:17 +00:00
packet-range.c
packet-range.h
packet.c Add comments, change structure member name. 2014-12-21 07:32:51 +00:00
packet.h Have a heur_dissector_list_t be an opaque handle. 2014-12-21 04:14:24 +00:00
packet_info.h Remove profinet_type from packet_info structure. 2014-12-21 01:57:51 +00:00
params.h
ppptypes.h
prefs-int.h
prefs.c Qt: Dynamic languages 2014-11-04 08:21:55 +00:00
prefs.h Qt: Obey main toolbar icon preferences. 2014-12-10 01:51:09 +00:00
print.c Clean up routine names, don't pass capture_file into libwireshark. 2014-11-29 22:44:29 +00:00
print.h Clean up routine names, don't pass capture_file into libwireshark. 2014-11-29 22:44:29 +00:00
print.ps
print_stream.c Fix comments. 2014-11-22 03:32:58 +00:00
print_stream.h Fix comments. 2014-11-22 03:32:58 +00:00
proto.c Improve the message for "this field has an integral type" assertions. 2014-12-22 00:09:36 +00:00
proto.h Improve the message for "this field has an integral type" assertions. 2014-12-22 00:09:36 +00:00
ps.h
ptvcursor.h
radius_dict.l Get rid of spaces before tabs. 2014-11-13 05:22:36 +00:00
range.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
range.h
reassemble.c reassembly: fix when fragment cut off by snapshot 2014-09-25 12:41:36 +00:00
reassemble.h
reassemble_test.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
reedsolomon.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
reedsolomon.h
req_resp_hdrs.c Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
req_resp_hdrs.h
rtp_pt.h
sctpppids.h
show_exception.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
show_exception.h
sigcomp-udvm.c sigcomp-udvm: fix invalid access 2014-11-05 02:38:11 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
slow_protocol_subtypes.h
sminmpec.c [Automatic manuf, services and enterprise-numbers update for 2014-12-21] 2014-12-21 16:04:54 +00:00
sminmpec.h
sna-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
sna-utils.h
stat_groups.h
stat_tap_ui.c Rename stat_cmd_args.[ch] to stat_tap_ui.[ch]. 2014-11-14 18:52:06 +00:00
stat_tap_ui.h Add a name field to tap_param, for use in error messages. 2014-11-14 20:21:57 +00:00
stats_tree.c Convert "4 space tabs" to spaces; Adjust editor modelines. 2014-10-06 18:29:40 +00:00
stats_tree.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
stats_tree_priv.h
stream.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
stream.h
strutil.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
strutil.h
t35.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
t35.h
tap-voip.h
tap.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tap.h
tfs.c Fixed bug in ZigBee (zbee) decryption, added Key Establishment cluster and moved IAS, Thermostat and Poll clusters out of the ZCL foundation dissector. 2014-12-17 11:53:26 +00:00
tfs.h Fixed bug in ZigBee (zbee) decryption, added Key Establishment cluster and moved IAS, Thermostat and Poll clusters out of the ZCL foundation dissector. 2014-12-17 11:53:26 +00:00
time_fmt.h
timestamp.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
timestamp.h Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
timestats.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
timestats.h
to_str-int.h
to_str.c Follow-up of ged0b19b (Make boolean bitmask type 64-bit wide) 2014-10-13 15:34:09 +00:00
to_str.h Replace ether_to_str with either address_to_str or tvb_ether_to_str. 2014-12-21 15:13:30 +00:00
tpg.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tpg.h
tvbparse.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbparse.h
tvbtest.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff-int.h
tvbuff.c reassembly: fix when fragment cut off by snapshot 2014-09-25 12:41:36 +00:00
tvbuff.h Revert "Add QNX' QNET protocol" 2014-11-29 07:26:52 +00:00
tvbuff_base64.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff_composite.c
tvbuff_real.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff_subset.c
tvbuff_zlib.c skip the extra field in the gzip header 2014-12-11 09:39:18 +00:00
uat-int.h
uat.c uat: tighten up dec/hex uat field validity checking 2014-11-20 13:47:13 +00:00
uat.h Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
uat_load.l Get rid of unnecessary include of ctype.h. 2014-10-19 22:40:08 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
xdlc.h