]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fixed crash when querying for non existing domain in chaos class
authorDiego Fronza <diego@isc.org>
Wed, 15 Jan 2020 17:39:38 +0000 (14:39 -0300)
committerEvan Hunt <each@isc.org>
Wed, 22 Jan 2020 20:25:33 +0000 (12:25 -0800)
commit150b98d185d20c05f25708441d7dec66b7b3d9ac
tree0fb9c6af299942bd861e55a9d9f011807a651ae1
parent4b34e5a135037218c33fc364332f7efb909eecb5
Fixed crash when querying for non existing domain in chaos class

Function dns_view_findzonecut in view.c wasn't correctly handling
classes other than IN (chaos, hesiod, etc) whenever the name being
looked up wasn't in cache or in any of the configured zone views' database.

That resulted in a NULL fname being used in resolver.c:4900, which
in turn was triggering abort.

(cherry picked from commit 85555f29d78fe896a289b8c7c938b9833f4dcaa5)
lib/dns/view.c