Merge branch '3498-glue-rehash-overflow-bind-9.16' into 'bind-9.16'
[9.16] correctly limit hash resize to RBTDB_GLUE_TABLE_MAX_BITS See merge request isc-projects/bind9!8552
This commit is contained in:
+1
-1
@@ -10070,7 +10070,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user