[asterisk-bugs] [Asterisk 0014647]: Incorrect argument parsing in RetryDial causes asterisk to crash

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 11 19:17:48 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14647 
====================================================================== 
Reported By:                sherpya
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14647
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-11 19:17 CDT
Last Modified:              2009-03-11 19:17 CDT
====================================================================== 
Summary:                    Incorrect argument parsing in RetryDial causes
asterisk to crash
Description: 
RetryDial(fpm-world-mix|5|3|LOCAL/sherpya)

yes syntax is wrong

function retrydial_exec

line 1993
sleep = atoi(args.sleep)

line 1996
loops = atoi(args.retries)

same in svn
they are two null pointers passed to atoi

a check on args.sleep and args.retries is enough :)


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-11 19:17 sherpya        New Issue                                    
2009-03-11 19:17 sherpya        Asterisk Version          => 1.6.0.6         
2009-03-11 19:17 sherpya        Regression                => No              
2009-03-11 19:17 sherpya        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list