bind9/lib/dns/rdata
Ondřej Surý 14cebe4d61 Change NSEC3 and NSEC3PARAM struct fields to use isc_region_t
Replace the separate pointer+length field pairs in dns_rdata_nsec3_t
(salt/salt_length, next/next_length, typebits/len) and
dns_rdata_nsec3param_t (salt/salt_length) with isc_region_t.  This
makes the structs self-describing and eliminates a class of
length-mismatch bugs.

The dns_zone_setnsec3param() signature is updated to take
isc_region_t *salt instead of separate saltlen and salt arguments.

Function signatures for dns_nsec3_addnsec3, dns_db_getnsec3parameters,
and related internal functions still use separate pointer+length pairs
and should be updated in a follow-up.
2026-04-02 16:53:18 +02:00
..
any_255 Use DNS_RDATACOMMON_INIT to hide branch differences 2025-08-15 07:30:30 +10:00
ch_3 Use DNS_RDATACOMMON_INIT to hide branch differences 2025-08-15 07:30:30 +10:00
generic Change NSEC3 and NSEC3PARAM struct fields to use isc_region_t 2026-04-02 16:53:18 +02:00
hs_4 Use DNS_RDATACOMMON_INIT to hide branch differences 2025-08-15 07:30:30 +10:00
in_1 Allow the dns_rdata_in_apl structure to be walked twice 2026-03-27 12:00:22 +00:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00
rdatastructpre.h Remove unused link field from rdatacommon 2025-07-17 12:57:51 +02:00
rdatastructsuf.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00