chiark / gitweb /
globalsystemfailure: Do not tangle our lists
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 1 Dec 2016 01:28:13 +0000 (01:28 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 May 2020 19:14:53 +0000 (20:14 +0100)
commitf2822b6fabc1917331a91b53519f2f1aaa67ce04
tree218ce58d3ef4e8e1cc60550ffefdf86a2e6c1a33
parent9176d09512f99412bc4fec47a66139ca6560a47a
globalsystemfailure: Do not tangle our lists

If a globalsystemfailure happens, we must remove each query from its
corresponding list, since adns__query_fail will try to remove it and
then put it on some other list.

Previously, any globalsystemfailure was likely to lead to an assertion
failure.  This doesn't seem to me to be a security problem.

Found by AFL.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/event.c