Red Hat Bugzilla – Bug 103628
dhclient crashes with floating point exception when DHCP server returns zero leasetime
Last modified: 2007-04-18 12:57:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.10 (X11; Linux i686; U;) Gecko/20030314
Description of problem:
DHCP servers return zero in the lease-time field to indicate an unlimited lease.
(BOOTP servers can only issue unlimited leases)
dhclient crashes with a Floating Point Exception when it gets zero lease time.
This has been spotted in other OSs, e.g.:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up a DHCP server to return zero (infinite) lease times
2. Set up RH9 Linux to obtain network info by DHCP
3. Activate the ethernet interface
Actual Results: ifup fails, citing Floating Point Exception in /sbin/dhclient
Expected Results: ifup should report OK and set the IP address for the interface
The component field should be 'dhclient' but Bugzilla does not have such a category.
I applied the documented patch. Thanks.
dhcp-3_0pl2-6_15 in rawhide
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.