commit | f1800e64ef2428747e696b0ef2f78ab05a116dcc | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Wed May 12 09:44:06 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon May 31 10:50:32 2021 +0200 |
tree | 081daa5ffc95577b1e7aef4c7334579380218bae | |
parent | e1ecfdda819c1241fd6330e95b8be5b3105f14e8 [diff] |
BUG/MINOR: server: Missing calloc return value check in srv_parse_source Two calloc calls were not checked in the srv_parse_source function. Considering that this function could be called at runtime through a dynamic server creation via the CLI, this could lead to an unfortunate crash. It was raised in GitHub issue #1233. It could be backported to all stable branches even though the runtime crash could only happen on branches where dynamic server creation is possible.