BUG/MEDIUM lua: Add missing call to RESET_SAFE_LJMP in hlua_filter_new()
In one case before exiting leaving the function the panic handler was not
reset.
Introduced in 69c581a092
, which is 2.5+.
No backport required.
This commit is contained in:
parent
e956c9cdac
commit
2281738256
|
@ -10005,6 +10005,7 @@ static int hlua_filter_new(struct stream *s, struct filter *filter)
|
|||
/* Check stack size. */
|
||||
if (!lua_checkstack(s->hlua->T, 1)) {
|
||||
SEND_ERR(s->be, "Lua filter '%s': full stack.\n", conf->reg->name);
|
||||
RESET_SAFE_LJMP(s->hlua);
|
||||
ret = 0;
|
||||
goto end;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue