mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3498-glue-rehash-overflow' into 'bind-9.18'
correctly limit hash resize to RBTDB_GLUE_TABLE_MAX_BITS See merge request isc-projects/bind9!8465
This commit is contained in:
commit
4ee01a8b5a
1 changed files with 1 additions and 1 deletions
|
|
@ -9640,7 +9640,7 @@ rehash_bits(rbtdb_version_t *version, size_t newcount) {
|
|||
uint32_t newbits = oldbits;
|
||||
|
||||
while (newcount >= HASHSIZE(newbits) &&
|
||||
newbits <= RBTDB_GLUE_TABLE_MAX_BITS)
|
||||
newbits < RBTDB_GLUE_TABLE_MAX_BITS)
|
||||
{
|
||||
newbits += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue