wireshark/epan/wslua
Guy Harris 3cb6403a4c wiretap: always allocate a block for a record.
Without that, you could add a comment to a record in a file format the
reading code for which doesn't allocate blocks, but the comment doesn't
get saved, as there's no block in which to save the comment option.

This simplifies some code paths, as we're either using the record's
modified block or we're using the block as read from the file, there's
no third possibility.

If we attempt to read a record, and we get an error, and a block was
allocated for the record, unreference it, so the individual file readers
don't have to worry about it.
2021-08-29 19:12:13 -07:00
..
.editorconfig
CMakeLists.txt
console.lua
dtd_gen.lua
init_wslua.c Lua: reconcile expert info groups; add PI_ASSUMPTION 2021-06-21 15:27:51 +00:00
init_wslua.h
lrexlib.c
lrexlib.h
lrexlib_algo.h
lrexlib_glib.c
lrexlib_glib_f.c
lua_bitop.c wslua: fix compilation with gcc 11 2021-04-28 20:12:19 +00:00
lua_bitop.h
make-init-lua.pl
make-reg.pl
make-taps.pl
taps
template-init.lua
wslua.h Replace usage of GLogLevel flags everywhere 2021-06-17 12:00:10 +01:00
wslua_address.c
wslua_byte_array.c wsutils: add local implementation of g_memdup2. 2021-03-25 09:38:10 +00:00
wslua_capture_info.c
wslua_column.c
wslua_dir.c
wslua_dissector.c Lua: add DissectorTable.try_heuristics() function 2021-03-26 07:15:16 +00:00
wslua_dumper.c wiretap: always allocate a block for a record. 2021-08-29 19:12:13 -07:00
wslua_field.c wslua: Fix crash on FieldInfo.range and FieldInfo.value for a nonexistent TVB 2021-04-28 16:59:54 +00:00
wslua_file.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_file_common.c
wslua_file_common.h Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
wslua_file_handler.c Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
wslua_frame_info.c Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
wslua_gui.c Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00
wslua_int64.c
wslua_internals.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_listener.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_nstime.c
wslua_pinfo.c Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00
wslua_pinfo_common.h
wslua_pref.c wslua: Replace g_assert() with ws_assert() 2021-05-19 03:52:45 +01:00
wslua_proto.c Try to avoid -Wunused with vanishing macros 2021-06-10 00:51:59 +01:00
wslua_proto_expert.c Lua: reconcile expert info groups; add PI_ASSUMPTION 2021-06-21 15:27:51 +00:00
wslua_proto_field.c dfilter, ftypes: get rid of FT_PCRE. 2021-03-21 03:27:44 -07:00
wslua_struct.c
wslua_tree.c
wslua_tvb.c Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00
wslua_util.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
wslua_wtap.c