DHCP Core file
Bruce Hudson
Bruce.Hudson at Dal.Ca
Wed Apr 4 13:48:58 UTC 2007
There was an infinite loop in the code, triggered when an error was
encountered writing to the lease database. All of the "write_*" functions,
such as "write_lease", call "new_lease_file" to start a new lease file if
the "lease_file_is_corrupt" flag is set.
In the 3.0.2 version I have, "new_lease_file" called "write_leases"
(and hence "write_lease") before clearing "lease_file_is_corrupt", hence
creating the loop. Version 3.0.5 clears the flag first and has a second,
"db_validity" flag" so somebody must have known about the bug. The fix is
included in the release notes for 3.0.4.
--
Bruce A. Hudson | Bruce.Hudson at Dal.CA
UCIS, Networks and Systems |
Dalhousie University |
Halifax, Nova Scotia, Canada | (902) 494-3405
More information about the dhcp-users
mailing list