1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/pkg/lua
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
..
contrib pkg/lua: detect if weak symbol has been overriden. 2019-05-31 17:15:41 +02:00
include pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
patches pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
doc.txt 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
Makefile.dep pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
Makefile.include pkg/lua: Provide better integration with RIOT 2018-07-02 15:13:10 +02:00
Makefile.lua Merge pull request #9355 from gebart/pr/Wformat 2018-07-19 15:23:10 +02:00