wireshark/epan/wslua
Peter Wu 24082972a3 lua: fix buffer underrun
A line containing just "\n" will cause a buffer underrun.

Test:
tshark -r test/captures/sipmsg.log -X lua_script:test/lua/acme_file.lua -w /dev/null

Caught by ASAN.

Change-Id: Idf38f1af2b211101b3929ee3fbd83c54c99c1e21
Reviewed-on: https://code.wireshark.org/review/1673
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-05-17 17:39:51 +00:00
..
CMakeLists.txt Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
console.lua Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
dtd_gen.lua Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
init_wslua.c Add paths to Lua package.path so require works for user scripts 2014-03-27 05:03:39 +00:00
init_wslua.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
lrexlib.c Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib.h Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_algo.h Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_glib.c Fix some compiler issues on windows with Lua 5.2 2014-03-29 12:36:48 +00:00
lrexlib_glib_f.c Replace "see copyright notice in" message with full license 2014-03-10 16:42:20 +00:00
lua_bitop.c Fix bug 9720 'Lua: bitop library is missing in Lua 5.2' 2014-02-04 22:01:01 +00:00
lua_bitop.h In a source file that defines external functions, the header file that 2014-01-13 22:06:12 +00:00
make-init-lua.pl Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
make-reg.pl Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
make-taps.pl Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
taps Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
template-init.lua Add paths to Lua package.path so require works for user scripts 2014-03-27 05:03:39 +00:00
wslua.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
wslua_dir.c Add various functions for Lua directory handling and path info 2014-03-26 07:37:34 +00:00
wslua_dumper.c Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
wslua_field.c Replace linked list of proto fields with array 2014-04-21 15:37:06 +00:00
wslua_file.c lua: fix buffer underrun 2014-05-17 17:39:51 +00:00
wslua_gui.c Enhance Lua API doc generator and add more API info 2014-03-25 05:30:11 +00:00
wslua_int64.c Remove $Id$ in wslua 2014-04-04 07:25:27 +00:00
wslua_internals.c Remove $Id$ in wslua 2014-04-04 07:25:27 +00:00
wslua_listener.c Enhance Lua API doc generator and add more API info 2014-03-25 05:30:11 +00:00
wslua_pinfo.c Some routine name changes. 2014-04-19 19:07:06 +00:00
wslua_proto.c Allow chained calls with Lua TreeItem functions, and fix a couple of minor errors. 2014-03-28 04:27:43 +00:00
wslua_struct.c Allow chained calls with Lua TreeItem functions, and fix a couple of minor errors. 2014-03-28 04:27:43 +00:00
wslua_tree.c Add tvb_get and proto_tree_add for string-encoded byte arrays 2014-04-17 14:04:19 +00:00
wslua_tvb.c Add tvb_get and proto_tree_add for string-encoded byte arrays 2014-04-17 14:04:19 +00:00
wslua_util.c Add various functions for Lua directory handling and path info 2014-03-26 07:37:34 +00:00