BUG/MEDIUM: lua: converters doesn't work
authorThierry Fournier <thierry.fournier@ozon.io>
Fri, 27 May 2016 14:35:01 +0000 (16:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Jun 2016 08:33:27 +0000 (10:33 +0200)
commit4a53bfdc1de46c78a23eabdefc4b418cff7d0403
tree22d19993b90411fb61c6aa50ad09278e32e24b5e
parent8225bb45779e4cc1bc64169d3a1ab2ff3d2b6af8
BUG/MEDIUM: lua: converters doesn't work

The number of arguments pushed in the stack are false, so we try to execute a
function out of the stack. This function is always a nil pointer, so the
following message is displayed.

   Lua converter 'testconv': runtime error: attempt to call a nil value.

Thanks Michael Ezzell for the repporting.

This patch must be backported in the 1.6 version.
src/hlua.c