]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: hlua: Don't call RESET_SAFE_LJMP if SET_SAFE_LJMP returns 0.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 27 Aug 2018 10:59:14 +0000 (12:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Aug 2018 14:14:58 +0000 (16:14 +0200)
commit9e643ea17257432c6079a8644401271a2a80619a
tree2596f8403640546ee045a3c59a10bbef0bdeff24
parentdd51e533679799969f2efdb2616815b90cbfe474
BUG/MEDIUM: hlua: Don't call RESET_SAFE_LJMP if SET_SAFE_LJMP returns 0.

If SET_SAFE_LJMP returns 0, the spinlock is already unlocked, and lua_atpanic
is already set back to hlua_panic_safe, so there's no need to call
RESET_SAFE_LJMP.

This should be MFC'd into 1.8.
src/hlua.c