Re: [PATCH][BUG] clf logs segfault when capturing a non existant header

From: Willy Tarreau <w#1wt.eu>
Date: Sun, 14 Mar 2010 19:59:57 +0100


Hi Cyril,

On Sat, Mar 13, 2010 at 03:15:07PM +0100, Cyril Bonté wrote:
> Hi Willy,
>
> Please find a small patch to prevent haproxy segfaulting when logging captured headers in CLF format.
>
> Example config to reproduce the bug :
> listen test :10080
> log 127.0.0.1 local7 debug err
> mode http
> option httplog clf
> capture request header NonExistantHeader len 16

Wow, good catch !

Thanks very much, I know a few users, I'm forwarding to them too. Regards,
Willy Received on 2010/03/14 19:59

This archive was generated by hypermail 2.2.0 : 2010/03/14 20:15 CET