[asterisk-bugs] [Asterisk 0014558]: [patch] app_playtones segfaults asterisk when invalid tone is specified.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 26 03:55:58 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14558 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14558
Category:                   Core/PBX
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 178446 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-26 03:15 CST
Last Modified:              2009-02-26 03:55 CST
====================================================================== 
Summary:                    [patch] app_playtones segfaults asterisk when
invalid tone is specified.
Description: 
Although a Dialplan mistake, asterisk shouldn't crash!! 

'iring' is a typo in the dialplan. Common problem for VI users.

will crash very shorty after Playtones(iring) 

Also. app_playtones is not available to report issues on, hence
'core/pbx'.
====================================================================== 

---------------------------------------------------------------------- 
 (0100780) alecdavis (reporter) - 2009-02-26 03:55
 http://bugs.digium.com/view.php?id=14558#c100780 
---------------------------------------------------------------------- 
uploaded playtones_invalidtone.diff.txt

sanity check for ast_playtones_start, checks that at least 1 item to play
before attempting to activate tone generator. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-26 03:55 alecdavis      Note Added: 0100780                          
======================================================================




More information about the asterisk-bugs mailing list