redict/.github
Meir Shpilraien (Spielrein) a8c1253b6f
Fix Lua C API violation on lua msgpack lib. (#9832)
msgpack lib missed using lua_checkstack and so on rare
cases overflow the stack by at most 2 elements. This is a
violation of the Lua C API. Notice that Lua allocates
additional 5 more elements on top of lua->stack_last
so Redis does not access an invalid memory. But it is an
API violation and we should avoid it.

This PR also added a new Lua compilation option. The new
option can be enable using environment variable called
LUA_DEBUG. If set to `yes` (by default `no`), Lua will be
compiled without optimizations and with debug symbols (`-O0 -g`).
In addition, in this new mode, Lua will be compiled with the
`-DLUA_USE_APICHECK` flag that enables extended Lua C API
validations.

In addition, set LUA_DEBUG=yes on daily valgrind flow so we
will be able to catch Lua C API violations in the future.
2021-11-28 11:33:09 +02:00
..
ISSUE_TEMPLATE update issue template, replace IRC with discussions (#9198) 2021-07-05 18:09:48 +03:00
workflows Fix Lua C API violation on lua msgpack lib. (#9832) 2021-11-28 11:33:09 +02:00
.codespellrc Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
wordlist.txt Add 'ist' to wordlist. (#9248) 2021-07-18 14:59:00 +03:00