]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: resolvers: segfault using server template without SRV RECORDs
authorEmeric Brun <ebrun@haproxy.com>
Mon, 14 Jun 2021 08:02:18 +0000 (10:02 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Jun 2021 09:04:02 +0000 (11:04 +0200)
commitcaef19e0c7594b00aa341d8984a33ddd0f15113f
treeaba4a027453d79401f76cb50d4c2b0cfdf62979a
parentb89c0e4635f124d39146265322e92fcea7ecfd59
BUG/MAJOR: resolvers: segfault using server template without SRV RECORDs

This patch fix the issue adding a test in srvrq before registering
the server on it during server template init.

This was a regression due to commit :
3406766d57fc11478d54a6fa2d048cbfe4524a4e

This should be backported with this previous commit (until 2.0)
src/server.c