diff --git a/src/proto_tcp.c b/src/proto_tcp.c index 8c1ae222e..4d0ae3559 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c @@ -521,7 +521,7 @@ static int tcp_parse_tcp_req(char **args, int section_type, struct proxy *curpx, // FIXME: how to set this ? // cond->line = linenum; - if (cond->requires & (ACL_USE_RTR_ANY | ACL_USE_L7_ANY)) { + if (cond && cond->requires & (ACL_USE_RTR_ANY | ACL_USE_L7_ANY)) { struct acl *acl; const char *name;