[asterisk-bugs] [Asterisk 0017128]: [patch] endless cycle in ast_waitfor_nandfds() for big timeouts

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 6 11:20:44 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17128 
====================================================================== 
Reported By:                under
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17128
Category:                   Core/Channels
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0.26 
JIRA:                       SWP-1251 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-02 03:10 CDT
Last Modified:              2010-04-06 11:20 CDT
====================================================================== 
Summary:                    [patch] endless cycle in ast_waitfor_nandfds() for
big timeouts
Description: 
Subj. happens when we call Dial() with really large answer timeout.
After this we see that asterisk eats all CPU.
Problem seems to happen due to multiplication (by 1000) overflow. 
====================================================================== 

---------------------------------------------------------------------- 
 (0120170) under (reporter) - 2010-04-06 11:20
 https://issues.asterisk.org/view.php?id=17128#c120170 
---------------------------------------------------------------------- 
I don't remember exactly, but the bug is reproduced when due to overflow
"whentohangup" becomes negative value after multiplication by 1000 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-06 11:20 under          Note Added: 0120170                          
======================================================================




More information about the asterisk-bugs mailing list