BUG/MINOR: config: don't propagate process binding for dynamic use_backend
authorCyril Bonté <cyril.bonte@free.fr>
Thu, 2 Oct 2014 17:56:25 +0000 (19:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Oct 2014 19:17:11 +0000 (21:17 +0200)
commit51639696e0a112ea3612e905a5722ad912b3869f
tree550ae5d95919195f1e1f77ec1e76ac9c68a2e988
parent213c6785614d0228d7e96e982e5189e1d0777059
BUG/MINOR: config: don't propagate process binding for dynamic use_backend

A segfault was reported with the introduction of the propagate_processes()
function. It was caused when a use_backend rule was declared with a dynamic
name, using a log-format string. The backend is not resolved during the
configuration, which lead to the segfault.

The patch prevents the process binding propagation for such dynamic rules, it
should also be backported to 1.5.
src/cfgparse.c