From: Willy Tarreau Date: Tue, 23 Apr 2013 17:39:43 +0000 (+0200) Subject: BUG/MINOR: fix unterminated ACL array in compression X-Git-Tag: v1.5-dev19~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f6fa69221c41a3cf81c4f1bcba45792baaba7d7;p=thirdparty%2Fhaproxy.git BUG/MINOR: fix unterminated ACL array in compression Recent commit 727db8b4 was lacking a NULL ACL descriptor to terminate the array, causing a random behaviour upon startup. No backport is needed. --- diff --git a/src/compression.c b/src/compression.c index e75f21e38c..906e4fdd75 100644 --- a/src/compression.c +++ b/src/compression.c @@ -637,6 +637,7 @@ smp_fetch_res_comp_algo(struct proxy *px, struct session *l4, void *l7, unsigned /* Note: must not be declared as its list will be overwritten */ static struct acl_kw_list acl_kws = {{ },{ { "res.comp", NULL, acl_parse_nothing, acl_match_nothing }, + { /* END */ }, }}; /* Note: must not be declared as its list will be overwritten */