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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 12 08:24:14 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14647 
====================================================================== 
Reported By:                sherpya
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14647
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-11 19:17 CDT
Last Modified:              2009-03-12 08:24 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-12 08:24 svnbot         Status                   assigned => resolved
2009-03-12 08:24 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list