wireshark/epan
Peter Wu 5a560f3f6a dns: fix off-by-one buffer overflow (write)
"maxname" is the size of the buffer which also includes the "null
label" (represented by the NUL byte). Do not write this past the end.

Bug: 14955
Change-Id: I51e2237741807aded7ffb82c178d7d7ce5123f78
Fixes: v2.9.0rc0-1142-g53e04b621c ("DNS: fix in expand_dns_name")
Reviewed-on: https://code.wireshark.org/review/28657
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Erika Szelleová <szelleerika@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-07-08 21:23:47 +00:00
..
crypt dot11decrypt(crypt): Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2018-06-15 15:19:33 +00:00
dfilter Better name for the routine. 2018-06-18 00:30:37 +00:00
dissectors dns: fix off-by-one buffer overflow (write) 2018-07-08 21:23:47 +00:00
ftypes Make white space consistent. 2018-06-28 07:32:08 +00:00
wmem
wslua
.editorconfig
CMakeLists.txt Fix build paths for cmake's Xcode project generator on macOS. 2018-06-21 03:33:03 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Remove tabs around manuf names as shown for BASE_OUI 2018-06-01 09:19:23 +00:00
addr_resolv.h
address.h
address_types.c
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
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
column-utils.h
column.c Sort our column descriptions. 2018-06-27 23:40:05 +00:00
column.h
conv_id.h
conversation.c Fix debugging code. 2018-07-01 02:27:53 +00:00
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
diam_dict.l
disabled_protos.c
disabled_protos.h
dissector_filters.c
dissector_filters.h
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
eap.h
eapol_keydes_types.h
epan.c epan: Fix session null-pointer check 2018-06-26 23:19:46 +00:00
epan.h
epan_dissect.h
etypes.h
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h
exntest.c
expert.c expert: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang 2018-06-18 08:30:59 +00:00
expert.h
export_object.c
export_object.h
exported_pdu.c
exported_pdu.h
filter_expressions.c
filter_expressions.h
follow.c Follow Stream: ensure linear performance with many packets 2018-07-06 07:24:46 +00:00
follow.h Follow Stream: ensure linear performance with many packets 2018-07-06 07:24:46 +00:00
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
maxmind_db.h
media_params.c
media_params.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.h packet-ieee80211.c: Mikrotik IE should be Routerboard, added dissection update 2018-06-28 21:35:27 +00:00
packet.c
packet.h
packet_info.h
params.h
plugin_if.c
plugin_if.h
ppptypes.h
prefs-int.h
prefs.c prefs: fix crash when importing old filter expression preference 2018-06-27 06:10:04 +00:00
prefs.h
print.c print.c: Handles special chars when using -T fields 2018-06-26 21:11:17 +00:00
print.h
print.ps
print_stream.c
print_stream.h
proto.c Add new encoding names for seconds/{micro,nano}second time stamps. 2018-07-02 04:09:21 +00:00
proto.h Get rid of trailing space. 2018-07-02 04:10:41 +00:00
proto_data.c
proto_data.h
ps.h
ptvcursor.h
radius_dict.l
range.c
range.h
reassemble.c tcp: add support for reassembling out-of-order segments 2018-06-28 06:10:35 +00:00
reassemble.h tcp: add support for reassembling out-of-order segments 2018-06-28 06:10:35 +00:00
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 E1AP: add dissector based on v15.0.0 2018-07-06 13:40:50 +00:00
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
stat_tap_ui.h
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.h
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
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
unit_strings.h
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h