]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix a bug in expireheader() call arguments order
authorAram Sargsyan <aram@isc.org>
Thu, 2 May 2024 08:33:51 +0000 (08:33 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 2 May 2024 08:38:35 +0000 (08:38 +0000)
commit8052848d50fa3b072079cd58860b2fa0d7fe278d
treea0f39aff94a1033a09b3229ad1964298d3ae739d
parentf8f0f4504366f9754ce2b10c24aa2efb41214a4e
Fix a bug in expireheader() call arguments order

The expireheader() call in the expire_ttl_headers() function
is erroneous as it passes the 'nlocktypep' and 'tlocktypep'
arguments in a wrong order, which then causes an assertion
failure.

Fix the order of the arguments so it corresponds to the function's
prototype.
lib/dns/qpcache.c