1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/lua/contrib
Juan Carrano 56eb7d9d92 pkg/lua: detect if weak symbol has been overriden.
After removing the default definitions of lua module tables and table
lengths (see lua_builtin.h) the symbols have been left undefined, which
results in them getting an address of NULL and a crash if there are no
user symbols and the user attempts a "require".

This patch checks the address of the table length variable and fails the
module search function of the table is not set (i.e. it behaves as if the
table was empty.)
2019-05-31 17:15:41 +02:00
..
binsearch.c pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
binsearch.h pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
lua_loadlib.c pkg/lua: detect if weak symbol has been overriden. 2019-05-31 17:15:41 +02:00
lua_run.c pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
Makefile pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00