BIND 10 #2413: Handle time overflow in lease structures
BIND 10 Development
do-not-reply at isc.org
Mon Oct 29 11:54:24 UTC 2012
#2413: Handle time overflow in lease structures
--------------------------------+-----------------------------------------
Reporter: stephen | Owner:
Type: defect | Status: new
Priority: medium | Milestone: DHCP 2012
Component: dhcp | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: DHCP | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
--------------------------------+-----------------------------------------
Currently the cltt in a lease structure is expressed as a time_t, and the
valid lifetime field as a uint32_t. The expiration time of the lease is
stored in the database and is calculated as
{{{
expiration = cltt + valid_lifetime
}}}
With no restriction on valid_lifetime, it is easy for the time calculation
to overflow. (On a 32-bit system, time_t is 32-bits).
--
Ticket URL: <http://bind10.isc.org/ticket/2413>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list