mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
56eb7d9d92
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.) |
||
---|---|---|
.. | ||
binsearch.c | ||
binsearch.h | ||
lua_loadlib.c | ||
lua_run.c | ||
Makefile |