Files
bind9/lib
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-06 22:13:05 +00:00
2019-02-06 22:13:05 +00:00
2019-02-21 01:57:08 +00:00
2019-02-06 22:13:05 +00:00
2019-02-06 22:13:05 +00:00
2019-02-21 01:57:08 +00:00
2018-11-13 07:23:36 +11:00