wireshark/epan
Martin Kaiser 22fd85d178 mount: fix a memory leak
don't copy the wmem-buffer from address_to_str() into a g_malloc()ed one
that is never freed

instead, realloc the wmem-buffer and add the nfs path to it

(nfs_name_snoop_add_name() will make a copy internally)

Change-Id: I4274a4a413c09f3f1d78beba65d94748ce185413
Reviewed-on: https://code.wireshark.org/review/15902
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-06-15 01:56:04 +00:00
..
compress autotools: Use pkg-config autoconf macros for GLib/GTK 2016-02-21 07:51:55 +00:00
crypt Make sure EAPOL body is big enough for a EAPOL_RSN_KEY. 2016-05-23 08:04:46 +00:00
dfilter automake/nmake: don't run checkAPIs on lex and yacc files. 2016-05-11 18:20:57 +00:00
dissectors mount: fix a memory leak 2016-06-15 01:56:04 +00:00
ftypes ftype-protocol: Fix [-Wcast-qual] warnings 2016-06-10 23:43:10 +00:00
nghttp2 Change the declaration of nghttp2_mem_free2() to match the definition. 2016-06-01 00:48:46 +00:00
wmem Document wmem null guarantee 2016-05-24 07:18:03 +00:00
wslua wslua: remove FAIL_ON_NULL_MEMBER_OR_EXPIRED 2016-06-14 18:33:51 +00:00
.editorconfig Add EditorConfig settings for epan/*.[ch] 2016-03-14 13:22:30 +00:00
CMakeLists.txt CORBA IDL: compile dissectors with /Ox when using MSVC2013 x64 2016-06-14 21:57:41 +00:00
Makefile.am autotools: Add automake silent rule for ln -s 2016-05-19 01:13:53 +00:00
Makefile.common Move Gateway Control Protocol (Context Tracking) into packet-h248.h 2016-06-12 11:21:52 +00:00
Makefile.nmake Fix nmake build after statically linking version code 2016-04-25 12:11:39 +00:00
addr_and_mask.c Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
addr_and_mask.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
addr_resolv.c addr_resolv: change g_hash to wmem_map. 2016-06-14 19:33:04 +00:00
addr_resolv.h addr_resolv: change g_hash to wmem_map. 2016-06-14 19:33:04 +00:00
address.h Convert AT_SS7PC to a "dissector address type" 2016-06-13 17:06:38 +00:00
address_types.c Convert AT_SS7PC to a "dissector address type" 2016-06-13 17:06:38 +00:00
address_types.h Add address_type_get_by_name 2016-06-13 05:16:51 +00:00
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c Don't use the prohibited API open(). 2016-04-11 23:22:29 +00:00
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c
asn1.h Remove support for "old style" dissectors in PER API. 2015-11-24 23:33:37 +00:00
ax25_pids.h
bridged_pids.h
capture_dissectors.c Don't limit capture packet counts to a fixed set of protocols. 2015-12-22 05:23:06 +00:00
capture_dissectors.h Don't limit capture packet counts to a fixed set of protocols. 2015-12-22 05:23:06 +00:00
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
color_filters.c Use getc_unlocked in a few places. 2016-06-13 16:18:25 +00:00
color_filters.h Qt: Color _ANY and _TCP sequence analysis items. 2016-06-01 04:27:13 +00:00
column-info.h ui: Improved splitting custom column multi-field 2015-12-21 13:36:27 +00:00
column-utils.c Qt: Add check for field extractors 2016-02-05 05:35:02 +00:00
column-utils.h Qt: Add check for field extractors 2016-02-05 05:35:02 +00:00
column.c Remove the deprecated column types so users don't think they still exist. 2016-01-27 07:54:24 +00:00
column.h Qt: Add missing multi-field column validation 2015-12-20 08:21:02 +00:00
conv_id.h
conversation.c Revert "Create an extended converstaion hastable taking more address information into consideration. This makes it possible to differentiate between packets on different vlans and can be expanded to handle tunnels." 2016-02-08 16:32:57 +00:00
conversation.h Revert "Create an extended converstaion hastable taking more address information into consideration. This makes it possible to differentiate between packets on different vlans and can be expanded to handle tunnels." 2016-02-08 16:32:57 +00:00
conversation_debug.h
conversation_table.c Add free_address_wmem(), fix warnings [-Wcast-qual] 2016-02-26 23:09:43 +00:00
conversation_table.h Avoid returning malloced memory as const [-Wcast-qual] 2016-01-21 02:30:18 +00:00
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc16-tvb.h add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc32-tvb.c
crc32-tvb.h
decode_as.c const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
decode_as.h const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
diam_dict.h
diam_dict.l Free if the pointer to the item being freed is *non*-null, not if it's null. 2016-06-07 21:47:40 +00:00
disabled_protos.c Use getc_unlocked in a few places. 2016-06-13 16:18:25 +00:00
disabled_protos.h
dissector_filters.c
dissector_filters.h Qt: Make conversation menu items static. 2016-03-28 16:27:41 +00:00
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h Make the Flex scanners and YACC parser in libraries reentrant. 2016-04-03 22:21:29 +00:00
dtd_parse.l Make the Flex scanners and YACC parser in libraries reentrant. 2016-04-03 22:21:29 +00:00
dtd_preparse.l Make the Flex scanners and YACC parser in libraries reentrant. 2016-04-03 22:21:29 +00:00
dvb_chartbl.c
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2016-06-12] 2016-06-12 15:11:23 +00:00
epan-int.h
epan.c Convert AT_SS7PC to a "dissector address type" 2016-06-13 17:06:38 +00:00
epan.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
epan_dissect.h
etypes.h ethertype: Add old non-standard 802.1ad (QinQ) 2016-05-16 18:07:40 +00:00
ex-opt.c
ex-opt.h
except.c Use a single WS_NORETURN macro 2016-04-08 17:34:10 +00:00
except.h Use a single WS_NORETURN macro 2016-04-08 17:34:10 +00:00
exceptions.h Fix test-programs to build with -Werror 2016-02-11 13:53:12 +00:00
exntest.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
expert.c Qt: Expert info grouping. 2016-06-10 16:44:17 +00:00
expert.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
exported_pdu.c Convert AT_SS7PC to a "dissector address type" 2016-06-13 17:06:38 +00:00
exported_pdu.h Convert AT_SS7PC to a "dissector address type" 2016-06-13 17:06:38 +00:00
filter_expressions.c Plug memory leak in filter_expression_free 2015-12-23 08:46:59 +00:00
filter_expressions.h Get rid of the argument to filter_expression_init(). 2015-12-19 19:21:08 +00:00
follow.c Bring back packet_num in "Follow Stream" 2016-02-10 10:09:39 +00:00
follow.h Qt: Add UTF-16 output to Follow Stream. 2016-06-03 16:20:57 +00:00
frame_data.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
frame_data.h Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
frame_data_sequence.c
frame_data_sequence.h
funnel.c Fix warning for funnel.c [-Wcast-qual] 2016-01-21 02:44:10 +00:00
funnel.h Lua: Added reload_lua_plugins 2016-01-11 07:43:36 +00:00
g_int64_hash_routines.c
g_int64_hash_routines.h
garrayfix.h
geoip_db.c
geoip_db.h Rename ipv6-utils.h to ipv6.h. 2016-01-03 21:42:32 +00:00
golay.c
golay.h
guid-utils.c Don't use _snwprintf (use StringCchPrintf instead). 2016-04-12 04:11:21 +00:00
guid-utils.h
iana_charsets.c Remove the MIBenum stuff from the WAP code. 2016-05-08 21:15:43 +00:00
iana_charsets.h Get rid of extra blank line. 2016-05-08 21:17:30 +00:00
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h
ipproto.c Remove synchronous DNS name resolution 2016-04-04 06:49:55 +00:00
ipproto.h IPv6: Add ipv6extprotostr() to ipproto.h 2015-11-29 21:38:30 +00:00
ipv4.c Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
ipv4.h Rename ipv4_addr and ipv6_addr to indicate their full contents. 2016-01-04 00:03:34 +00:00
ipv6.h Move a declaration to wsutil 2016-04-09 23:36:30 +00:00
lapd_sapi.h
llcsaps.h
next_tvb.c
next_tvb.h
nlpid.h
oids.c Use faster string functions at startup. 2016-04-07 22:36:28 +00:00
oids.h
oids_test.c oids_test.c - Fix compile error 2016-01-06 00:54:49 +00:00
osi-utils.c
osi-utils.h
oui.c Support for Oracle Solaris ECP/VDP dissection based on IEEE 802.1Qbg Draft 2.1. 2016-04-19 05:06:31 +00:00
oui.h Add Aerohive gre tunnel between APs. 2016-06-14 19:13:54 +00:00
packet-range.c
packet-range.h
packet.c packet.c: remove const compiler warning. 2016-06-14 21:42:28 +00:00
packet.h Completely remove dissector_add_handle. 2016-06-13 05:16:37 +00:00
packet_info.h Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
params.h
plugin_if.c Add some casts to void * to fix (pedantic) argument mismatch notes 2016-02-15 00:00:34 +00:00
plugin_if.h plugin_if: Add function to get capture file info 2016-01-15 11:39:58 +00:00
ppptypes.h The Bridging Control Protocol is really two protocols. 2015-12-10 21:10:40 +00:00
prefs-int.h prefs: fix a leak. 2016-02-08 06:04:13 +00:00
prefs.c Use getc_unlocked in a few places. 2016-06-13 16:18:25 +00:00
prefs.h extcap: Add Save functionality to options dialog 2016-02-01 12:12:41 +00:00
print.c TShark: Add a "-E bom=" option. 2016-05-11 17:30:33 +00:00
print.h
print.ps
print_stream.c Use g_get_charset instead of g_get_codeset. 2016-05-14 07:59:46 +00:00
print_stream.h
proto.c Add proto_tree_add_bitmask_list_value. 2016-06-13 22:20:57 +00:00
proto.h proto(.h): fix '@return' command used in a comment that is attached to a function returning void [-Wdocumentation] 2016-06-14 22:53:30 +00:00
proto_data.c proto_data: Remove superfluous casts 2016-02-07 23:21:04 +00:00
proto_data.h Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
ps.h
ptvcursor.h
radius_dict.l Don't double-close the input. 2016-04-04 01:28:06 +00:00
range.c Allow hex and octal values to be used in ranges 2016-01-24 01:36:31 +00:00
range.h
reassemble.c reassemble: remove special treatment for truncated data 2016-04-03 16:22:46 +00:00
reassemble.h reassemble: remove special treatment for truncated data 2016-04-03 16:22:46 +00:00
reassemble_test.c reassemble: remove special treatment for truncated data 2016-04-03 16:22:46 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
req_resp_hdrs.h
rtd_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
rtd_table.h
rtp_pt.h
sctpppids.h
show_exception.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2016-06-12] 2016-06-12 15:11:23 +00:00
sminmpec.h L2TP: Added AVPs from RFC 5515 2016-03-01 08:07:05 +00:00
srt_table.c Move the proto data stuff out of frame_data.[ch]. 2016-01-25 02:24:34 +00:00
srt_table.h
stat_groups.h
stat_tap_ui.c Get rid of another unnecessary new_ prefix. 2015-12-29 00:48:29 +00:00
stat_tap_ui.h Get rid of another unnecessary new_ prefix. 2015-12-29 00:48:29 +00:00
stats_tree.c Cleanup indentation 2016-02-08 05:51:14 +00:00
stats_tree.h
stats_tree_priv.h
stream.c
stream.h
strutil.c Fix constness 2016-01-20 16:12:07 +00:00
strutil.h Fix constness 2016-01-20 16:12:07 +00:00
t35.c
t35.h
tap-voip.h
tap.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
tap.h
tfs.c Adding a dissector for the Distributed Object Framework protocol. 2016-04-14 12:27:24 +00:00
tfs.h Adding a dissector for the Distributed Object Framework protocol. 2016-04-14 12:27:24 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
timestats.h
to_str-int.h
to_str.c Move ip6_to_str_buf() to to_str.c and make it take the buffer length. 2016-06-06 22:00:41 +00:00
to_str.h Move ip6_to_str_buf() to to_str.c and make it take the buffer length. 2016-06-06 22:00:41 +00:00
tpg.c
tpg.h Officially remove tvb_get_string and tvb_get_stringz. 2015-11-27 05:11:25 +00:00
tvbparse.c tvbparse: change g_hash_table to wmem_map. 2016-06-14 19:34:12 +00:00
tvbparse.h tvbparse: change g_hash_table to wmem_map. 2016-06-14 19:34:12 +00:00
tvbtest.c
tvbuff-int.h
tvbuff.c clean up some comments in tvb_find_line_end() 2016-06-02 08:31:01 +00:00
tvbuff.h Rename ipv6-utils.h to ipv6.h. 2016-01-03 21:42:32 +00:00
tvbuff_base64.c
tvbuff_composite.c Fix display of composite tvbs in GUI 2016-05-31 16:53:41 +00:00
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c use #include <file.h> for generated include files 2016-06-13 21:17:29 +00:00
uat-int.h Spelling fixes for errors found by lintian 2015-12-07 07:11:54 +00:00
uat.c uat: Fix warnings [-Wcast-qual] 2015-12-31 22:56:34 +00:00
uat.h uat: Fix warnings [-Wcast-qual] 2015-12-31 22:56:34 +00:00
uat_load.l Get rid of extra %noyyalloc etc. stuff. 2016-04-05 22:58:05 +00:00
value_string.c Revert "Simplify val_to_str[_ext] implementation." 2016-05-11 04:22:26 +00:00
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h