BUG/MINOR: lua: Some lua init operation are processed unsafe
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 15:08:02 +0000 (16:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 08:45:18 +0000 (09:45 +0100)
commit2f05cc6f86ee6beda9c42a6bb99a9a96fad37b68
tree0547ecd523140f3e7a596c0e0eb5372a28111734
parent13d08b73eb99741ca5903e8414b85a1d0b919594
BUG/MINOR: lua: Some lua init operation are processed unsafe

Operation luaL_openlibs() and lua_prepend path are processed whithout
the safe context, so in case of failure Haproxy aborts or stops without
error message.

This patch could be backported until 1.8
src/hlua.c