wireshark/epan/wslua
Peter Wu f3ba318e09 Lua: fix crash on invalid Dissector.list("food") invocation
The Dissector.list, Listener.list and Field.list functions do not accept
a parameter. Passing one however results in a crash because the first
element is not the expected table, but the first function parameter.

Change-Id: I8483d0aa20716045472f30f5b41a449bed549b05
Reviewed-on: https://code.wireshark.org/review/23209
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-08-27 13:45:09 +00:00
..
.editorconfig
CMakeLists.txt cmake: allow building from a UNC source directory 2017-06-21 01:53:08 +00:00
Makefile.am
console.lua
dtd_gen.lua
init_wslua.c Check for errors running the Lua scripts. 2017-08-08 21:03:25 +00:00
init_wslua.h
lrexlib.c
lrexlib.h
lrexlib_algo.h
lrexlib_glib.c
lrexlib_glib_f.c
lua_bitop.c
lua_bitop.h
make-init-lua.pl Lua: Add absolute time base values 2017-03-15 18:44:44 +00:00
make-reg.pl
make-taps.pl Lua: Add "tonumber" method to NSTime 2017-06-21 23:50:27 +00:00
taps
template-init.lua Lua: Merge sep and str tables into base 2017-03-15 17:32:30 +00:00
wslua.h Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
wslua_address.c lua: Added support for FT_IPv6 fields 2016-10-25 19:18:35 +00:00
wslua_byte_array.c wslua: fix errors in documentation, add notational conventions 2016-10-18 04:09:14 +00:00
wslua_capture_info.c Allow bigger snapshot lengths for D-Bus captures. 2017-06-05 05:28:26 +00:00
wslua_column.c
wslua_dir.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00
wslua_dissector.c Lua: fix crash on invalid Dissector.list("food") invocation 2017-08-27 13:45:09 +00:00
wslua_dumper.c Lua: Check for PseudoHeader.none 2017-08-05 10:39:37 +00:00
wslua_field.c Lua: fix crash on invalid Dissector.list("food") invocation 2017-08-27 13:45:09 +00:00
wslua_file.c wslua: fix wslua file test failure 2016-10-02 16:47:54 +00:00
wslua_file_common.c
wslua_file_common.h
wslua_file_handler.c lua: improve FileHandler:[seek_]read behavior and documentation 2017-03-07 05:38:54 +00:00
wslua_frame_info.c
wslua_gui.c
wslua_int64.c
wslua_internals.c wslua: prepare for split class/instance (meta)methods 2016-10-18 20:41:34 +00:00
wslua_listener.c Lua: fix crash on invalid Dissector.list("food") invocation 2017-08-27 13:45:09 +00:00
wslua_nstime.c Lua: Add "tonumber" method to NSTime 2017-06-21 23:50:27 +00:00
wslua_pinfo.c wslua: prepare for split class/instance (meta)methods 2016-10-18 20:41:34 +00:00
wslua_pinfo_common.h
wslua_pref.c Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
wslua_proto.c Add an API to let a postdissector specify fields whose values it needs. 2017-04-12 04:31:19 +00:00
wslua_proto_expert.c
wslua_proto_field.c Lua: Add absolute time base values 2017-03-15 18:44:44 +00:00
wslua_struct.c wslua: fix documentation of Struct.fromhex 2017-02-27 12:48:47 +00:00
wslua_tree.c New Lua function TreeItem:referenced(ProtoField | Dissector). 2017-05-05 08:38:40 +00:00
wslua_tvb.c Rename tvb_new_subset() to tvb_new_subset_length_caplen(). 2017-01-10 06:19:37 +00:00
wslua_util.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00