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-20 17:45:47 -08: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
2018-12-06 10:29:11 -08: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
2018-11-22 11:52:08 +00:00
2019-02-18 17:40:56 -05:00
2018-11-23 04:34:02 -05:00
2018-11-22 11:52:08 +00:00
2018-11-08 12:22:17 +07:00
2018-11-23 04:34:02 -05:00
2018-11-28 12:00:16 -05:00
2019-01-31 12:18:55 -08:00
2019-01-23 14:12:09 -05:00
2019-02-05 22:57:13 -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-12-19 12:24:59 +01:00
2018-11-22 11:52:08 +00:00
2018-11-14 13:45:20 -05:00
2018-11-22 09:28:00 -05:00
2019-02-18 17:40:56 -05:00
2018-11-08 12:22:17 +07:00
2018-11-08 12:21:53 +07:00
2018-11-08 12:22:17 +07: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-20 09:27:00 +11:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:35:49 +01:00
2019-01-30 11:46:11 -08:00
2018-11-22 11:51:49 +00:00
2019-01-09 15:53:32 +11:00
2018-12-19 12:54:57 +01:00
2018-11-08 12:21:53 +07:00
2018-11-14 15:26:27 -05:00
2018-11-22 11:52:08 +00:00
2018-11-14 20:17:04 -08:00
2018-11-08 12:22:17 +07:00
2018-12-11 11:32:24 +01:00
2018-11-08 12:22:17 +07:00
2019-01-16 15:48:37 -05:00
2019-01-16 15:48:37 -05:00
2018-11-22 11:52:08 +00:00
2018-11-08 12:21:53 +07:00
2019-01-30 14:11:12 -08:00
2019-01-09 18:33:42 +11:00
2019-01-09 18:04:21 +11:00
2018-12-06 10:29:10 -08:00
2018-11-22 11:52:08 +00:00
2019-01-16 17:41:13 -05:00
2019-01-09 23:44:26 +01:00
2019-02-22 15:23:33 +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
2018-11-08 12:22:17 +07:00
2019-02-18 17:39:08 -05:00
2018-11-08 12:22:17 +07:00
2018-12-11 11:32:24 +01:00
2018-12-06 10:36:50 -08:00
2019-02-14 10:41:56 +01:00
2019-02-22 15:23:33 +01:00
2018-11-08 12:21:53 +07:00
2019-02-08 05:49:22 -05:00