mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Shoulda left the >= as >=, not >, in join_nodes. D'oh.
This commit is contained in:
parent
56b657bfe8
commit
3c5de27363
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbt.c,v 1.51 1999/05/07 02:42:50 tale Exp $ */
|
||||
/* $Id: rbt.c,v 1.52 1999/05/07 02:47:35 tale Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
|
|
@ -1292,7 +1292,7 @@ join_nodes(dns_rbt_t *rbt,
|
|||
*/
|
||||
newlength = newname->length + newname->labels;
|
||||
oldlength = NAMELEN(down) + OFFSETLEN(down);
|
||||
if (newlength > oldlength + PADBYTES(down))
|
||||
if (newlength >= oldlength + PADBYTES(down))
|
||||
result = create_node(rbt->mctx, newname, &newnode);
|
||||
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue