OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Traceroute problems
From: Alan Cox (alanlxorguk.ukuu.org.uk)
Date: Tue Aug 29 2000 - 04:22:24 CDT


> wait.tv_sec = tp->tv_sec + waittime;
> wait.tv_usec = tp->tv_usec;
> (void)gettimeofday(&now, &tz);
> tvsub(&wait, &now);
>
> Could overflow the tv_sec variable (which is of type long and signed),

Yep. And I can write

        while(1)
        {
                send_udp_datagram();
        }

as a user anyway