> On 22 Dec 2017, at 12:50, Thierry Fournier <thierry.fourn...@arpalert.org> 
> wrote:
> 
> Hi, thanks for the patch.
> 
> Willy, can you apply it ?


PS: This patch must be backported on 1.6, 1.7 and 1.8.

Thierry.

> 
> Thierry
> 
>> On 21 Dec 2017, at 14:40, Eric Salama <esal...@haproxy.com> wrote:
>> 
>> HAProxy crashes when one use a bogus mode with core.register_service().
>> The 2nd argument must be "http" or "tcp", but any other value crashes HAProxy
>> when it displays the error message.
>> 
>> To reproduce:
>> 
>> haproxy.cfg:
>> 
>> global
>>    lua-load crash.lua
>> 
>> 
>> crash.lua:
>> function f() end
>> core.register_service("lua_svc", "bogus_mode", f);
>> 
>> 
>> The fix is attached.
>> 
>> <0001-PATCH-MINOR-lua-fix-crash-when-using-bogus-mode-in-r.patch>
> <0001-PATCH-MINOR-lua-fix-crash-when-using-bogus-mode-in-r.patch>


Reply via email to