Better handled integer overflow in isc_time_secondsastimet function

Adam Tkac atkac at redhat.com
Mon Jul 16 12:50:49 UTC 2007


Hi,

recently I've got report that host's -w parameter doesn't work correctly 
(host die on timer.c:710: INSIST(result == 0 || result == 2) failed.). 
After investigation problem is in function which converts seconds to 
time_t (when time_t is 32bit signed value). Proposed patch is attached.

Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-9.5-overflow.patch
Type: text/x-patch
Size: 1898 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-workers/attachments/20070716/6b84b3ac/attachment.bin>


More information about the bind-workers mailing list