2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

- An internal database inconsistency bug was repaired where the server

would segfault if a client attempted to renew a lease that had been
  loaded from persistent storage.  [ISC-Bugs #17068]
This commit is contained in:
David Hankins
2007-08-22 15:42:13 +00:00
parent ebb73fe3fd
commit 8dfd574485
3 changed files with 41 additions and 23 deletions

View File

@@ -3901,18 +3901,6 @@ parse_ia_na_declaration(struct parse *cfile) {
return;
}
add_lease6(pool, iaaddr, end_time);
switch (state) {
case FTS_ABANDONED:
release_lease6(pool, iaaddr);
break;
case FTS_EXPIRED:
decline_lease6(pool, iaaddr);
iaaddr->state = FTS_EXPIRED;
break;
case FTS_RELEASED:
release_lease6(pool, iaaddr);
break;
}
ipv6_pool_dereference(&pool, MDL);
iaaddr_dereference(&iaaddr, MDL);
}