]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Merge pull request #399 from xiangbao227/master
authorWouter Wijngaards <wcawijngaards@users.noreply.github.com>
Wed, 13 Jan 2021 09:05:50 +0000 (10:05 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Jan 2021 09:05:50 +0000 (10:05 +0100)
I found that in function "lruhash_remove", table was locked at first ,then lru_remove the entry , then unlock the table, and then markdel entry , but in function "rrset_cache_touch" , the entry will be touched to lru again before markdelling entry in function "lruhash_remove". This may lead to core!


Trivial merge