]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua: missing lock in hlua_filter_new()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 11 Mar 2024 12:50:41 +0000 (13:50 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 13 Mar 2024 08:24:46 +0000 (09:24 +0100)
commitecd8f3bfd72ace0af8bc91eb8ec7cf6dc2d6a68c
tree1beb024dfe38b91e88cb6454a103f84ca40fdb38
parent4aefffc38c08e4bad88330e9c96c455624d6e5af
BUG/MINOR: hlua: missing lock in hlua_filter_new()

This is a complementary patch to 8670db7 ("BUG/MAJOR: hlua: improper lock
usage with hlua_ctx_resume()") for hlua_filter_new().

Indeed, the HLUA_E_ERRMSG case still relies on the lua stack but didn't
take the lock to do so.

This should be backported up to 2.6.
src/hlua.c