[asterisk-bugs] [Asterisk 0014852]: [patch] prevent a segfault when use of RetryDial is incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 7 23:42:47 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14852 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14852
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 186841 
Request Review:              
====================================================================== 
Date Submitted:             2009-04-07 23:42 CDT
Last Modified:              2009-04-07 23:42 CDT
====================================================================== 
Summary:                    [patch] prevent a segfault when use of RetryDial is
incorrect
Description: 
If you put something:
exten => 144,1,RetryDial(Local/142 at default);
in ur dialplan.
(it missings few arguments before the dialargs.


(gdb) bt
http://bugs.digium.com/view.php?id=0  0x00007f2d5d9be0b0 in strchr () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=1  0x00007f2d5616f5f5 in retrydial_exec
(chan=0x1abce80, data=0x414edd40)
at app_dial.c:1875
http://bugs.digium.com/view.php?id=2  0x000000000048534c in pbx_exec
(c=0x1abce80, app=0x1a55170,
data=0x414edd40) at pbx.c:537
http://bugs.digium.com/view.php?id=3  0x0000000000488b32 in pbx_extension_helper
(c=0x1abce80, con=0x0,
context=0x1abd0d0 "default", exten=0x1abd120 "144", priority=1, label=0x0,
callerid=0x1ab8590 "", action=E_SPAWN) at pbx.c:1863
http://bugs.digium.com/view.php?id=4  0x0000000000489dd9 in ast_spawn_extension
(c=0x1abce80,
context=0x1abd0d0 "default", exten=0x1abd120 "144", priority=1,
callerid=0x1ab8590 "") at pbx.c:2320

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-07 23:42 junky          New Issue                                    
2009-04-07 23:42 junky          Asterisk Version          => SVN             
2009-04-07 23:42 junky          Regression                => No              
2009-04-07 23:42 junky          SVN Branch (only for SVN checkouts, not tarball
releases) =>  1.4            
2009-04-07 23:42 junky          SVN Revision (number only!) => 186841          
======================================================================




More information about the asterisk-bugs mailing list