bind9/bin/tests
Tony Finch 9fa20d6f6c Don't crash when rndc delzone encounters a catz member
This bug was masked in the tests because the `catz` test script did an
`rndc addzone` before an `rndc delzone`. The `addzone` autovivified
the NZF config, so `delzone` worked OK.

This commit swaps the order of two sections of the `catz` test script
so that it uses `delzone` before `addzone`, which provokes a crash
when `delzone` requires a non-NULL NZF config.

To fix the crash, we now try to remove the zone from the NZF config
only if it was dynamically added but not by a catalog zone.
2023-01-04 14:04:22 +00:00
..
startperf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
system Don't crash when rndc delzone encounters a catz member 2023-01-04 14:04:22 +00:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
convert-trs-to-junit.py Auto-format Python files with black 2022-06-08 10:28:08 +02:00
Makefile.am Fix JUnit test status generator for out-of-tree system tests 2022-09-22 15:20:23 +02:00
test_client.c Re-purpose TLS DNS and TCP DNS unit tests for Stream DNS 2022-12-20 22:13:52 +02:00
test_server.c BIND: use Stream DNS for DNS over TCP connections 2022-12-20 22:13:53 +02:00
wire_test.c Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00