BUG/MINOR: lua: In error case, the safe mode is not removed
authorThierry FOURNIER <thierry.fournier@ozon.io>
Wed, 12 Jul 2017 09:18:00 +0000 (11:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Jul 2017 04:41:19 +0000 (06:41 +0200)
commit0a97620c080232a21ad7fce2c859a2edc9d7147e
treecd593f7a4ee3e6bab83a78b4b21e20266f870fc8
parentbe7b1ce4c1580a897d979a59c2d489f66dc151b0
BUG/MINOR: lua: In error case, the safe mode is not removed

Just forgot of reset the safe mode. This have not consequences
the safe mode just set a pointer on fucntion which is called only
and initialises a longjmp.

Out of lua execution, this longjmp is never executed and the
function is never called.

This patch should be backported in 1.6 and 1.7
src/hlua.c