]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add a regression test for the BRID/HHIT crash
authorMatthijs Mekking <matthijs@isc.org>
Tue, 2 Dec 2025 15:23:01 +0000 (16:23 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 5 Feb 2026 17:21:52 +0000 (18:21 +0100)
commitce1d68cbc5d702749497a9bc6a758564f72abe2f
tree253136484eb207e75642b344688472e45acf9951
parent3cae2e0cd531af7fa7cf71438ff4b9e513aff2da
Add a regression test for the BRID/HHIT crash

Add two short records to example.com.db that cause assertion failures
when converted to wire form.

The checks added to tests.sh are technically not required: the relevant
assertion failures are already hit when the zone is transferred out of
ns1.

Update the relevant unit tests with 1-byte records.

Co-authored-by: Mark Andrews <marka@isc.org>
bin/tests/system/auth/ns1/example.com.db
bin/tests/system/auth/tests.sh
tests/dns/rdata_test.c