wireshark/epan
Michael Mann 1d0a974932 Simplify val_to_str[_ext] implementation.
All val_to_str API use wmem, so just call the wmem function version
passing packet_scope instead of copying it.

Change-Id: Ib58b6b702fbaf5a81cc445bd01ef1a523774be6e
Reviewed-on: https://code.wireshark.org/review/15348
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-05-11 03:16:59 +00:00
..
compress autotools: Use pkg-config autoconf macros for GLib/GTK 2016-02-21 07:51:55 +00:00
crypt Sanity check eapol_len in AirPDcapDecryptWPABroadcastKey 2016-05-10 15:20:49 +00:00
dfilter Have fvalue_to_string_repr always return an (wmem) allocated buffer. 2016-05-10 22:49:08 +00:00
dissectors enttec: CID 1355670 (same code for different branches) 2016-05-10 20:46:13 +00:00
ftypes Give FvalueToStringRepr a length parameter. 2016-05-10 22:49:25 +00:00
nghttp2 NGHTTP2: Update to 1.8.0 2016-03-27 20:12:36 +00:00
wmem Remove strcpy from wmem_strbuf.c 2016-05-11 03:16:43 +00:00
wslua Have fvalue_to_string_repr always return an (wmem) allocated buffer. 2016-05-10 22:49:08 +00:00
.editorconfig Add EditorConfig settings for epan/*.[ch] 2016-03-14 13:22:30 +00:00
CMakeLists.txt cmake: fix build without Lua 2016-05-10 11:51:21 +00:00
Makefile.am Link version code statically again 2016-04-21 18:59:56 +00:00
Makefile.common Remove the MIBenum stuff from the WAP code. 2016-05-08 21:15:43 +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 Don't mix g_malloc() and wmem_alloc(). 2016-04-28 21:53:49 +00:00
addr_resolv.h Replace and remove host_ip_af() function 2016-04-08 20:49:22 +00:00
address.h If setting an address from a tvb and the address length is 0, the address should be NULL. 2016-03-27 20:27:07 +00:00
address_types.c Add inet_pton/inet_ntop interface to libwsutil 2016-02-19 15:55:09 +00:00
address_types.h
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 const gpointer -> gconstpointer 2016-02-16 05:10:49 +00:00
color_filters.h const gpointer -> gconstpointer 2016-02-16 05:10:49 +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 Windows: Remove the need for _CRT_NONSTDC_NO_DEPRECATE. 2016-04-13 02:16:20 +00:00
disabled_protos.c disabled_protos.c: Fix heur_compare() constness [-Wcast-qual] 2015-12-15 08:58:55 +00:00
disabled_protos.h
dissector_filters.c Tweak some names to better reflect what the named items are. 2015-10-29 04:22:02 +00:00
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-05-08] 2016-05-08 15:09:39 +00:00
epan-int.h
epan.c Remove ADNS support 2016-03-21 19:32:00 +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 Added Bachmann bluecom protocol 2016-05-03 12:29: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 Adds calculation of preamble length and frame duration. 2016-02-03 05:58:05 +00:00
expert.h epan: Don't export deregister functions 2015-12-11 08:35:11 +00:00
exported_pdu.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
exported_pdu.h [Nettrace] Add parsing of some HSS records. 2016-03-31 10:59:06 +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 Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +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
gcp.c Add the packet number to the packet_info structure, and use it. 2016-01-24 03:41:28 +00:00
gcp.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 Support for Oracle Solaris ECP/VDP dissection based on IEEE 802.1Qbg Draft 2.1. 2016-04-19 05:06:31 +00:00
packet-range.c
packet-range.h
packet.c CID 1215245, 1215247: NULL check for the param of proto_get_id() 2016-05-09 23:40:50 +00:00
packet.h Create call_data_dissector() to call data dissector. 2016-03-20 17:38:03 +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 [GTK] Check for xdg-open at run time 2016-04-09 23:40:51 +00:00
prefs.h extcap: Add Save functionality to options dialog 2016-02-01 12:12:41 +00:00
print.c Have fvalue_to_string_repr always return an (wmem) allocated buffer. 2016-05-10 22:49:08 +00:00
print.h
print.ps
print_stream.c TShark: Convert TTY output. 2016-05-09 04:11:29 +00:00
print_stream.h
proto.c Have fvalue_to_string_repr always return an (wmem) allocated buffer. 2016-05-10 22:49:08 +00:00
proto.h rawshark: Get "field string values" from existing functionality. 2016-05-10 22:47:54 +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 rtd_table(.h): fix api reference 2015-11-02 11:38:09 +00:00
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-05-08] 2016-05-08 15:09:39 +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 srt_table(.h): fix api reference 2015-11-02 11:40:07 +00:00
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 Give the time_[m]secs_to routines names that begin with "[un]signed_". 2016-05-09 22:55:00 +00:00
to_str.h Give the time_[m]secs_to routines names that begin with "[un]signed_". 2016-05-09 22:55:00 +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 Use cast to char for explicit conversion [-Woverflow] 2016-02-15 18:36:14 +00:00
tvbparse.h
tvbtest.c
tvbuff-int.h
tvbuff.c Prevent inproper use of negative value 2016-02-19 03:23:07 +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 tvbuff_composite.c: do not recompute abs_length 2016-04-22 21:26:37 +00:00
tvbuff_real.c
tvbuff_subset.c
tvbuff_zlib.c Do not mix wmem and glib allocators 2016-04-22 04:32:32 +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 Simplify val_to_str[_ext] implementation. 2016-05-11 03:16:59 +00:00
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h