commit | b45a7d4b74a00622cea6a5c3a252f735abcb7852 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 18:46:52 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 21:35:12 2021 +0200 |
tree | a75aa8e6b80ab15f96d2fd5a6a354bfd1b1e2ca2 | |
parent | 0c6d1dcf7d45f71361cf10e7e9efe1d6a0a6a994 [diff] |
BUG/MINOR: cfgparse/proxy: Hande allocation errors during proxy section parsing At several places during the proxy section parsing, memory allocation was performed with no check. Result is now tested and an error is returned if the allocation fails. This patch may be backported to all stable version but it only fixes allocation errors during configuration parsing. Thus, it is not mandatory.