wireshark/epan
Guy Harris 494508f2d0 Clean up REPORT_DISSECTOR_BUG().
Have it take a format and argument list as arguments, and have the
formatting done inside the reporting code.  That way, we're not relying
on any particular wmem scope working.

If WIRESHARK_ABORT_ON_DISSECTOR_BUG is set, try to add the message to
the crash information (currently only supported in macOS), and print it
to the standard error, before crashing.  We won't necessarily have a
usable crash dump to analyze, so we can't rely on that to find the cause
of the crash.

Ping-Bug: 14490
Change-Id: I2b39169c45c84f2ada31efa1d413bd28c140f8f4
Reviewed-on: https://code.wireshark.org/review/26643
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-03-25 23:49:35 +00:00
..
crypt spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dfilter spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
dissectors Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
ftypes spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
wmem wmem: ensure wmem_memdup(..., NULL, 0) returns NULL 2018-03-19 16:15:35 +00:00
wslua wslua: Fix logging 2018-03-24 07:17:03 +00:00
.editorconfig
CMakeLists.txt There's no register.h file in the top-level source directory. 2018-03-25 20:00:44 +00:00
Makefile.am Transition from GeoIP Legacy to MaxMindDB. 2018-03-06 18:02:21 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Transition from GeoIP Legacy to MaxMindDB. 2018-03-06 18:02:21 +00:00
addr_resolv.h Transition from GeoIP Legacy to MaxMindDB. 2018-03-06 18:02:21 +00:00
address.h
address_types.c address_types: fix returned length of eui64_addr_to_str 2018-03-07 23:05:28 +00:00
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c Update a comment. 2018-03-24 04:03:20 +00:00
app_mem_usage.h
arcnet_pids.h
arptypes.h
asn1.c
asn1.h
ax25_pids.h
bridged_pids.h
capture_dissectors.c
capture_dissectors.h
charsets.c
charsets.h
chdlctypes.h
color_filters.c
color_filters.h
column-info.h
column-utils.c Properly reset a variable. 2018-03-15 16:30:27 +00:00
column-utils.h colum-utils.h: Fix 325 million -Wdocumentation warnings 2018-03-16 20:28:25 +00:00
column.c
column.h
conv_id.h
conversation.c
conversation.h
conversation_debug.h
conversation_table.c
conversation_table.h
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
diam_dict.l
disabled_protos.c
disabled_protos.h
dissector_filters.c
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon spdx: more licenses converted. 2018-03-09 04:48:20 +00:00
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
eap.h
eapol_keydes_types.h
epan.c epan: Ignore SIGPIPE. 2018-03-08 18:24:45 +00:00
epan.h
epan_dissect.h
etypes.h Add Arista Vendor Specific Protocol (Ethertype) dissector 2018-03-22 20:15:12 +00:00
ex-opt.c
ex-opt.h
except.c Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
except.h Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
exceptions.h Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
exntest.c
expert.c
expert.h
export_object.c
export_object.h
exported_pdu.c
exported_pdu.h
filter_expressions.c
filter_expressions.h
follow.c
follow.h
frame_data.c
frame_data.h
frame_data_sequence.c
frame_data_sequence.h
funnel.c
funnel.h
garrayfix.h
golay.c
golay.h
guid-utils.c
guid-utils.h
iana_charsets.c
iana_charsets.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.h
ipv6.h
lapd_sapi.h
llcsaps.h
maxmind_db.c Properly initialize mmdb_lookup_t. 2018-03-13 21:14:46 +00:00
maxmind_db.h MaxMind DB: Shut down our mmdbresolve process. 2018-03-15 17:44:46 +00:00
media_params.c Add wmem alloc parameter to ws_find_media_type_parameter. 2018-03-11 15:07:24 +00:00
media_params.h Add wmem alloc parameter to ws_find_media_type_parameter. 2018-03-11 15:07:24 +00:00
next_tvb.c
next_tvb.h
nlpid.h
oids.c OID name resolv: Fix MIB/PIB path presentations 2018-03-24 07:07:14 +00:00
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.h
packet.c Constify an argument that doesn't need to be non-const. 2018-03-08 02:55:10 +00:00
packet.h Constify an argument that doesn't need to be non-const. 2018-03-08 02:55:10 +00:00
packet_info.h ERSPAN: Various small cleanups and enhancements 2018-03-18 10:14:03 +00:00
params.h
plugin_if.c
plugin_if.h
ppptypes.h
prefs-int.h
prefs.c MaxMind DB: Shut down our mmdbresolve process. 2018-03-15 17:44:46 +00:00
prefs.h Qt: ensure field is visible on selection from bytes view 2018-03-18 00:30:49 +00:00
print.c Skip hidden columns when we export packets. 2018-03-23 00:06:07 +00:00
print.h
print.ps
print_stream.c
print_stream.h
proto.c Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
proto.h Clean up REPORT_DISSECTOR_BUG(). 2018-03-25 23:49:35 +00:00
proto_data.c
proto_data.h
ps.h
ptvcursor.h
radius_dict.l
range.c
range.h
reassemble.c
reassemble.h
reassemble_test.c
reedsolomon.c
reedsolomon.h
register.c
register.h
req_resp_hdrs.c
req_resp_hdrs.h
rtd_table.c
rtd_table.h
rtp_pt.h
sctpppids.h
sequence_analysis.c
sequence_analysis.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.h
srt_table.c
srt_table.h
stat_groups.h
stat_tap_ui.c Get rid of more new_ prefixes for statistics functions and types. 2018-02-19 00:12:51 +00:00
stat_tap_ui.h Get rid of more new_ prefixes for statistics functions and types. 2018-02-19 00:12:51 +00:00
stats_tree.c
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c
strutil.h
t35.c
t35.h
tap-voip.h
tap.c
tap.h
tfs.c tfs: Add high_normal and low_normal 2018-03-11 02:42:41 +00:00
tfs.h tfs: Add high_normal and low_normal 2018-03-11 02:42:41 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h
to_str.c
to_str.h
tvbparse.c
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Get rid of TestBigEndian and AC_C_BIGENDIAN. 2018-03-13 19:09:36 +00:00
tvbuff.h
tvbuff_base64.c
tvbuff_composite.c
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c
uat-int.h
uat.c
uat.h
uat_load.l
unit_strings.c Make some arguments const, and remove casting-away of constness. 2018-02-21 05:34:52 +00:00
unit_strings.h Make some arguments const, and remove casting-away of constness. 2018-02-21 05:34:52 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h