bind9/lib
Tony Finch 9d7b224201 Fix change 6093 which broke rbtdb when it grew too large
I misunderstood the purpose of the `heap_index` rdataset header
member; I thought it identified which heap to use, and could therefore
be smaller, the same size as `locknum` indexes. But in fact it is a
position within a heap, so it needs to be able to count up to the
total number of rdatasets in the rbtdb.

So this changes `heap_index` from `uint16_t` back to `unsigned int`.

To avoid re-embiggening the rdatasetheader, shrink the `count` member
from `uint32` to `uint16`. The `count` is used to rotate RRsets in
`dns_rdataset_towiresorted()`, so 16 bits is more than large enough.
This change also means we no longer need to avoid colliding with
`DNS_RDATASET_COUNT_UNDEFINED` i.e. UINT32_MAX.

Closes #3862
2023-02-14 18:19:46 +00:00
..
bind9 Add 'tls' configuration support for the 'forwarders' option 2023-01-20 14:45:30 +00:00
dns Fix change 6093 which broke rbtdb when it grew too large 2023-02-14 18:19:46 +00:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
isc Improve the spinloop pause / yield hint 2023-02-14 17:13:24 +00:00
isccc Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
isccfg clean up some deprecated/obsolete options and doc 2023-02-10 09:52:27 -08:00
ns remove some unused functions 2023-02-13 11:50:59 -08:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00