]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] [CVE-2025-13878] sec: test: Add a regression test for the BRID/HHIT crash
authorMichał Kępień <michal@isc.org>
Thu, 5 Feb 2026 19:04:10 +0000 (20:04 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 5 Feb 2026 19:04:10 +0000 (20:04 +0100)
commit4a5406241a2c0cd641af84b91cff509eb0d38a98
treee586523d9f5851eb22d6ac4d82a48337e41a13ef
parente7f78c203cdad5335584462a088c4c308be3a074
parent440ada653d482844de818291088fa8fcfaf89c72
[9.20] [CVE-2025-13878] sec: test: 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>
Closes #5616

Backport of MR !11522

Merge branch 'backport-5616-add-brid-hhit-towire-tests-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11523