Files
bind9/lib/dns
Matthijs Mekking 48d7e4bb40 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 15:23:33 +01:00
..
2019-02-08 13:54:13 +11:00
2019-02-19 07:57:14 +11:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:51:49 +00:00
2019-02-21 01:57:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-02-18 17:40:56 -05:00
2018-11-22 11:52:08 +00:00
2018-11-28 12:00:16 -05:00
2018-12-11 11:32:24 +01:00
2018-12-11 11:32:24 +01:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2019-02-18 17:40:56 -05:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:35:49 +01:00
2018-11-22 11:51:49 +00:00
2018-11-14 15:26:27 -05:00
2018-11-14 20:17:04 -08:00
2018-12-11 11:32:24 +01:00
2019-01-30 14:11:12 -08:00
2018-12-06 10:29:10 -08:00
2018-11-22 11:52:08 +00:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-02-19 09:17:03 +11:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:01:23 -08:00
2019-02-18 17:39:08 -05:00
2018-12-11 11:32:24 +01:00