wireshark/epan
Evan Huus 95f484a91e Add a very small hack to make the UAT update callback error string freeable, and
convert all existing UAT update callbacks to use glib memory instead of
ephemeral memory for that string.

UAT code paths are entirely distinct from packet dissection, so using ephemeral
memory was the wrong choice, because there was no guarantees about when it would
be freed.

The move away from emem still needs to be propogated deeper into the UAT code
itself at some point.

Net effect: remove another bunch of emem calls from dissectors, where replacing
with wmem would have caused assertions.

svn path=/trunk/; revision=52854
2013-10-25 22:14:25 +00:00
..
crypt Fix (-W)documentation error found by Clang 2013-08-10 21:28:01 +00:00
dfilter Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
dissectors Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
ftypes Add support for RELATIVE-OID ASN.1 type. Bug 9192 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192) 2013-10-06 02:31:10 +00:00
wmem Don't link explicitly with libwmem, it's already in libwireshark and the symbol 2013-10-19 19:40:02 +00:00
wslua Add Lua cleanup on shutdown, to help with memory leak detection. Bug 5575 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5575) 2013-10-23 16:47:02 +00:00
wspython Add support for RELATIVE-OID ASN.1 type. Bug 9192 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9192) 2013-10-06 02:31:10 +00:00
CMakeLists.txt From Michal Labedzki via 2013-10-23 01:36:49 +00:00
Makefile.am Don't link explicitly with libwmem, it's already in libwireshark and the symbol 2013-10-19 19:40:02 +00:00
Makefile.common From Michal Labedzki via 2013-10-23 01:36:49 +00:00
Makefile.nmake Take a blind stab at adding oids_test to nmake 2013-10-20 02:10:39 +00:00
addr_and_mask.c Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() 2013-07-12 05:59:56 +00:00
addr_and_mask.h Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() 2013-07-12 05:59:56 +00:00
addr_resolv.c g_slist_free_full() is glib 2.28 2013-10-23 14:04:19 +00:00
addr_resolv.h g_slist_free_full() is glib 2.28 2013-10-23 14:04:19 +00:00
address.h Switch the inline functions that use tvbuffs and emem back to macros. 2013-09-17 18:42:36 +00:00
address_to_str.c Fix indent (use 4 spaces) And add modelines info 2013-08-27 21:12:52 +00:00
adler32.c
adler32.h
afn.c
afn.h
aftypes.h
app_mem_usage.c app_mem_usage fixes: 2013-08-06 16:38:36 +00:00
app_mem_usage.h Add some very basic framework to fetch statistics of memory usage per component. 2013-07-31 18:26:14 +00:00
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
asn1.h Remove all global variables in P1 dissector. Bug 8515 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8515) 2013-06-28 12:43:29 +00:00
atalk-utils.c
atalk-utils.h
ax25_pids.h
base64.c
base64.h
bitswap.c
bitswap.h
bridged_pids.h
camel-persistentdata.c
camel-persistentdata.h
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
codecs.c
codecs.h
column-info.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
column-utils.c After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
column-utils.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
column.c Provide a usage example of the column formats. 2013-10-23 17:47:47 +00:00
column.h From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9272 2013-10-15 18:27:35 +00:00
conv_id.h
conversation.c Our hash function is no longer commutative (yay!). However, this means that we 2013-09-15 20:47:45 +00:00
conversation.h Use a better hash algorithm and add a dialouge to get hastable data. 2013-09-15 19:35:10 +00:00
crc8-tvb.c
crc8-tvb.h
crc16-tvb.c Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc16-tvb.h Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc32-tvb.c Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc32-tvb.h Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
diam_dict.h Remove trailing whitespace 2013-10-06 17:04:18 +00:00
diam_dict.l
disabled_protos.c Move disabled_protos.{h,c} into epan. 2013-07-12 01:40:06 +00:00
disabled_protos.h Move disabled_protos.{h,c} into epan. 2013-07-12 01:40:06 +00:00
dissector_filters.c
dissector_filters.h
doxygen.cfg.in Move the contents of wsar_html/core to wsar_html. Create tag files for 2013-04-30 00:27:02 +00:00
dtd.h
dtd_grammar.lemon
dtd_parse.h Make the minimum supported GLib version 2.16. 2013-05-20 17:27:05 +00:00
dtd_parse.l
dtd_preparse.l
dwarf.c From Michal Labedzki via 2013-10-24 12:41:27 +00:00
dwarf.h From Michal Labedzki via 2013-10-24 12:41:27 +00:00
eap.h
emem.c ZeroMemory -> SecureZeroMemory 2013-10-21 15:16:41 +00:00
emem.h Remove some emem functions that have now been completely replaced by wmem. 2013-09-04 21:24:51 +00:00
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2013-04-14] 2013-04-14 14:03:29 +00:00
epan-int.h Remove fdata->opt_comment, add pkt_comment to pinfo 2013-08-01 20:59:38 +00:00
epan.c Add Lua cleanup on shutdown, to help with memory leak detection. Bug 5575 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5575) 2013-10-23 16:47:02 +00:00
epan.h Reintroduce back epan_dissect_reset(), proto_tree_reset() 2013-10-20 10:21:25 +00:00
epan_dissect.h Some work on multi file dissection 2013-07-21 18:38:03 +00:00
etypes.h Beginnings of Motrola's MiNT protocol. 2013-10-18 13:09:22 +00:00
ex-opt.c
ex-opt.h
except.c
except.h
exceptions.h Add to tvbuffs a "fragment length" field; if the tvbuff represents the 2013-04-18 19:22:24 +00:00
exntest.c Add to tvbuffs a "fragment length" field; if the tvbuff represents the 2013-04-18 19:22:24 +00:00
expert.c Prefix all "Wireshark application specific" display filters with a "_ws." to distinguish them from dissector filters. 2013-10-09 12:56:19 +00:00
expert.h Make expert items used in "low level" proto functions filterable (and ensure they are called even with a NULL tree). I don't really like the Type Length Mismatch "protocol", but it doesn't seem that much different than the exception "protocols". 2013-10-03 01:54:02 +00:00
exported_pdu.c support exporting decrypted DVB-CI/CI+ SAC messages 2013-07-29 20:38:20 +00:00
exported_pdu.h Fix ABI check error for libwireshark 2013-10-15 20:14:47 +00:00
filesystem.c Solaris Studio C++ won't let us pass the address of main() to 2013-10-12 02:29:17 +00:00
filesystem.h Don't try to open <home>/.wireshark on Windows: Wireshark hasn't written to 2013-04-09 02:48:03 +00:00
filter_expressions.c
filter_expressions.h
follow.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
follow.h From Thomas ERSFELD (GSoC13) Prepare inclusion of Follow (TCP/UDP/SSL) feature in Qtshark 2013-07-23 08:56:30 +00:00
frame_data.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
frame_data.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
frame_data_sequence.c Move some more modules into epan. 2013-07-11 23:57:11 +00:00
frame_data_sequence.h Move some more modules into epan. 2013-07-11 23:57:11 +00:00
frequency-utils.c
frequency-utils.h
funnel.c
funnel.h
garrayfix.h
gcp.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
gcp.h Convert GCP to wmem. It is only called from dissectors in the proper scope 2013-09-04 20:42:12 +00:00
geoip_db.c Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
geoip_db.h
golay.c
golay.h
greproto.h Peter Van Eynde 2013-05-11 10:46:36 +00:00
guid-utils.c Remove what appear to be the last two instances of pe_tree. Could this be the 2013-09-04 21:14:55 +00:00
guid-utils.h
h225-persistentdata.c
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c
in_cksum.h
ip_opts.h Add expert info to dissect_ip_tcp_options(). The proto_tree_add_text seems a bit duplicative, but the byte highlighting over the whole option is nice. 2013-06-30 03:16:32 +00:00
ipproto.c
ipproto.h
ipv4.c Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() 2013-07-12 05:59:56 +00:00
ipv4.h
ipv6-utils.h Fix warnings found by Clang 5.0 (-Wself-assign and -Wparentheses-equality). 2013-10-16 17:19:59 +00:00
lapd_sapi.h
libwireshark.vcproj
llcsaps.h
next_tvb.c
next_tvb.h
nlpid.h nlpid.h requires value_string.h 2013-04-23 16:59:09 +00:00
oids.c Add OID unit tests. Bug 9294 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9294) 2013-10-19 18:52:13 +00:00
oids.h From beroset@mindspring.com: 2013-10-19 20:25:55 +00:00
oids_test.c Don't use g_assert_cmpint, it isn't happy on Windows. g_assert is nearly as good 2013-10-20 02:18:19 +00:00
osi-utils.c
osi-utils.h
oui.h Beginnings of Nintendo StreetProtocol support 2013-07-22 08:01:10 +00:00
packet-range.c Move some more modules into epan. 2013-07-11 23:57:11 +00:00
packet-range.h Move some more modules into epan. 2013-07-11 23:57:11 +00:00
packet.c Move resetting packet_info structure from dissect_packet() to epan_dissect_init() 2013-10-20 10:11:16 +00:00
packet.h After looking for something in the column-*.h files and 2013-10-18 13:06:05 +00:00
packet_info.h Have ZigBee dissectors pass data through subdissector parameter instead of using struct _packet_info. 2013-10-24 23:40:58 +00:00
params.h
plugins.c Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). 2013-07-15 02:48:26 +00:00
plugins.h
ppptypes.h
prefs-int.h Convert preferences to wmem. Exposes some more memory leaks that didn't show up 2013-07-31 01:49:57 +00:00
prefs.c Fix up some formatting and white space. 2013-10-25 15:25:46 +00:00
prefs.h Add Preference to change Language (in QtShark) 2013-09-09 16:20:45 +00:00
print.c When printing PDML, don't assume that all values with bitmasks are represented 2013-10-13 16:10:43 +00:00
print.h Move the print modules into epan. 2013-07-12 03:50:50 +00:00
print.ps Move the print modules into epan. 2013-07-12 03:50:50 +00:00
proto.c Optimization: in test_length there's no need to validate that the count value 2013-10-22 16:02:13 +00:00
proto.h Reintroduce back epan_dissect_reset(), proto_tree_reset() 2013-10-20 10:21:25 +00:00
ps.h Move the print modules into epan. 2013-07-12 03:50:50 +00:00
ptvcursor.h
radius_dict.l
range.c
range.h Fix (-W)documentation error found by Clang 2013-08-10 21:28:17 +00:00
reassemble.c Reorganize handling of incomplete fragments slightly. The logic hasn't changed 2013-10-08 15:05:45 +00:00
reassemble.h Update a comment 2013-10-09 21:59:41 +00:00
reassemble_test.c Remove fragment_data, add fragment_head, fragment_item - for now alias it to the same structure. 2013-07-17 21:12:24 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
req_resp_hdrs.h
rtp_pt.h
sctpppids.h Update SCTP PPIDs and use newly assigned value. 2013-09-22 17:16:02 +00:00
show_exception.c Prefix all "Wireshark application specific" display filters with a "_ws." to distinguish them from dissector filters. 2013-10-09 12:56:19 +00:00
show_exception.h proto_malformed SHOULD NOT be used outside of show_exception.c 2013-07-02 20:43:21 +00:00
sigcomp-udvm.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
sminmpec.h Change name on a define. 2013-04-16 18:12:56 +00:00
sna-utils.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
sna-utils.h
stat_cmd_args.c
stat_cmd_args.h
stats_tree.c Don't allow invalid ranges to be specified for the stats tree. Bug 9130 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9130) 2013-10-18 21:17:01 +00:00
stats_tree.h
stats_tree_priv.h
stream.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
stream.h Remove fragment_data, add fragment_head, fragment_item - for now alias it to the same structure. 2013-07-17 21:12:24 +00:00
strutil.c From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9229 2013-10-12 12:38:56 +00:00
strutil.h From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9229 2013-10-12 12:38:56 +00:00
t35.c
t35.h
tap-voip.h
tap.c
tap.h Add doxygen comments. 2013-05-03 17:33:13 +00:00
tcap-persistentdata.c
tcap-persistentdata.h
tfs.c Use "generic" tfs (tfs_supported_not_supported...) 2013-07-17 10:44:35 +00:00
tfs.h Use "generic" tfs (tfs_supported_not_supported...) 2013-07-17 10:44:35 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
timestats.h As pointed out by Guy: timestats uses packet_info so it belongs in epan 2013-06-26 00:18:44 +00:00
to_str.c [trivial] Use g_stpcpy() 2013-08-15 09:33:52 +00:00
to_str.h Add an item tracer to the TCP stream graph. Enable packet selection. 2013-08-30 21:15:24 +00:00
tpg.c
tpg.h emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbparse.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbparse.h
tvbtest.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbuff-int.h - no need for a doubly-linked list of TVBs, single is simpler 2013-09-07 18:20:52 +00:00
tvbuff.c Optimize tvb_ensure_bytes_exist through manual inlining and removal of redundant 2013-10-22 16:29:10 +00:00
tvbuff.h Revert the optimization in r52578. As Jakub predicted, it caused at least one 2013-10-17 12:24:25 +00:00
tvbuff_composite.c emem -> wmem conversion: 2013-09-22 15:50:55 +00:00
tvbuff_real.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
tvbuff_subset.c Explicitly include emem.h where it is needed 2013-09-13 08:16:50 +00:00
uat-int.h Add a UAT dialog. Make UAT preferences uat_t * instead of void *. 2013-07-25 23:49:47 +00:00
uat.c Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). 2013-07-15 02:48:26 +00:00
uat.h Fix (-W)documentation error found by Clang 2013-08-10 21:28:25 +00:00
uat_load.l Add a very small hack to make the UAT update callback error string freeable, and 2013-10-25 22:14:25 +00:00
value_string.c Replace some val_to_str calls with the equivalent val_to_str_const calls (and 2013-09-29 12:44:50 +00:00
value_string.h Replace some val_to_str calls with the equivalent val_to_str_const calls (and 2013-09-29 12:44:50 +00:00
x264_prt_id.h
xdlc.c Remove check_col. 2013-10-01 15:14:59 +00:00
xdlc.h Fix (-W)documentation error found by Clang 2013-08-10 21:29:08 +00:00