bind9/lib
Matthijs Mekking a490c09121 named crashes on shutdown after load rpz failed
This may happen when loading an RPZ failed and the code path skips
calling dns_db_endload().  The dns_rpz_zone_t object is still kept
marked as having registered db.  So when this object is finally
destroyed in rpz_detach(), this code will incorrectly call
`dns_db_updatenotify_unregister()`:

   if (rpz->db_registered)
     dns_db_updatenotify_unregister(rpz->db,
                                    dns_rpz_dbupdate_callback, rpz);

and trigger this assertion failure:

   REQUIRE(db != NULL);

To fix this, only call `dns_db_updatenotify_unregister()` when
`rpz->db` is not NULL.
2019-02-22 13:59:10 +01:00
..
bind9 documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
dns named crashes on shutdown after load rpz failed 2019-02-22 13:59:10 +01:00
irs documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
isc documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
isccc documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
isccfg documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
ns use client->query.qname 2019-02-22 00:04:52 -05:00
samples Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
win32/bindevt address win32 build issues 2018-05-22 16:32:21 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00