]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: always initialize the answer_list
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Oct 2021 09:29:21 +0000 (11:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Oct 2021 15:53:54 +0000 (17:53 +0200)
commit48664c048d17486b80e58459d2d4fa41a36e579e
tree2e78717f1cd20216a2ba5625c8db765767f58f42
parent25e010906a016c9d6e8677726e6e55de80010616
CLEANUP: always initialize the answer_list

Similar to the previous patch, the answer's list was only initialized the
first time it was added to a list, leading to bogus outdated pointer to
appear when debugging code is added around it to watch it. Let's make
sure it's always initialized upon allocation.
src/resolvers.c