BUG/MEDIUM: lua: bad memory access
authorThierry FOURNIER <thierry.fournier@ozon.io>
Sun, 16 Jul 2017 22:44:40 +0000 (00:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Jul 2017 04:41:38 +0000 (06:41 +0200)
commit7bd10d58d3aecf7cf1e5ee7df01193e07128a52d
tree68dc4b2fef1ea8ce9408ce54e6d6e50b94df69a0
parentb13b20a19aacb039a33f886e38a181b00c9a6d41
BUG/MEDIUM: lua: bad memory access

We cannot perform garbage collection on unreferenced thread.
This memory is now free and another Lua process can use it for
other things.

HAProxy is monothread, so this bug doesn't cause crash.

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