]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua: segfault when loading the same filter from different contexts
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 11 Mar 2024 12:49:56 +0000 (13:49 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 13 Mar 2024 08:24:46 +0000 (09:24 +0100)
commit4aefffc38c08e4bad88330e9c96c455624d6e5af
treee7c71759610d41bd45c93f144d36f718b5766083
parentbb25ee7b2682c514fd89e1aef51fc6ca338e582d
BUG/MINOR: hlua: segfault when loading the same filter from different contexts

Trying to register the same lua filter from global and per-thread context
(using 'lua-load' + 'lua-load-per-thread') causes a segmentation fault in
hlua_post_init().

This is due to a simple copy paste error as we try to print the function
name in the error message (like we do when loading the same lua function
from different contexts) instead of the filter name.

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