[asterisk-dev] "Issue #6439 - the "timebomb" bug. Patch by Markster over GPRS"

Luigi Rizzo rizzo at icir.org
Wed Jan 25 05:06:38 MST 2006


On Wed, Jan 25, 2006 at 11:33:14AM +0100, Tamas wrote:
> Hello,
> 
> anybody knows any explanation of this issue? When it came into the
> system what was the problem?

the problem was an overflow in the computation of
a difference between two struct timeval, and it occurred
because one of the parameter was set to 0 instead of
a time in the vicinity of the current date.
Probably 64-bit machines were not affected.
The bug would come out with a period of roughly every 2^22 seconds,
which is not _that_ long. We were just lucky (or unlucky)
that it did not come out earlier.
On the other hand, for similar bugs, a missile (Ariane ?)
came down a few years ago, so we are not the first nor
the last to experience these things...

cheers
luigi

> Unfortunately some of our  call centers 'died' yesterday evening and we
> have to make some explanation to the customer.
> 
> The given patch solved the problem.
> 
> Thanks in advance,
>     Tamas
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list