]> 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ń (GitLab job 6823904) <michal@isc.org>
Thu, 5 Feb 2026 18:23:49 +0000 (18:23 +0000)
commit440ada653d482844de818291088fa8fcfaf89c72
treee586523d9f5851eb22d6ac4d82a48337e41a13ef
parente7f78c203cdad5335584462a088c4c308be3a074
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>
(cherry picked from commit ce1d68cbc5d702749497a9bc6a758564f72abe2f)
bin/tests/system/auth/ns1/example.com.db
bin/tests/system/auth/tests.sh
tests/dns/rdata_test.c