BUG/MAJOR: http-htx: Don't forget to copy error messages from defaults sections
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Jun 2020 15:09:17 +0000 (17:09 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Jun 2020 15:21:01 +0000 (17:21 +0200)
commit661c88907739d9dac49d51e4d54bf388f5dbfdba
tree4a5e97896cc134d0f3de7316bfdfa85966d91496
parent34db7610667cc76f059040b5d045306c44440db5
BUG/MAJOR: http-htx: Don't forget to copy error messages from defaults sections

A bug was introduced in the commit c9dbbbdfc ("BUG/MEDIUM: http-htx: Duplicate
error messages as raw data instead of string"). No copy is performed in this
patch. The memory is allocated but the copy is not perfomed. It is stupid and it
affects all configuration with errofiles defined in a defaults section.

This patch should fix the issue #669. This bug is specific to the 2.1. Other
versions are not affected. Thus, there is no upstream commit ID for this
patch. And it should not be backported.
src/cfgparse-listen.c