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.
This commit is contained in:
Willy Tarreau 2013-04-23 19:39:43 +02:00
parent 50bcecc11d
commit 7f6fa69221

View File

@ -637,6 +637,7 @@ smp_fetch_res_comp_algo(struct proxy *px, struct session *l4, void *l7, unsigned
/* Note: must not be declared <const> 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 <const> as its list will be overwritten */