[asterisk-bugs] [Asterisk 0017257]: [patch] Long hints make asterisk crash

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 30 10:51:06 CDT 2010


The following issue is now READY FOR REVIEW. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17257 
====================================================================== 
Reported By:                tim_ringenbach
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17257
Category:                   Core/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.4.30 
JIRA:                        
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-28 11:17 CDT
Last Modified:              2010-04-30 10:51 CDT
====================================================================== 
Summary:                    [patch] Long hints make asterisk crash
Description: 
Someone made a hint too long and asterisk started crashing. I tracked it
down to pbx.c using AST_MAX_EXTENSION for the length of all the devices
combined, which seems wrong to me. I changed it to use ast_strdupa to avoid
the length issue.
====================================================================== 

---------------------------------------------------------------------- 
 (0121225) lmadsen (administrator) - 2010-04-30 10:51
 https://issues.asterisk.org/view.php?id=17257#c121225 
---------------------------------------------------------------------- 
Thanks for the patch! We'll get a developer to review this as soon as
possible. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 10:51 lmadsen        Note Added: 0121225                          
2010-04-30 10:51 lmadsen        Status                   new => ready for review
======================================================================




More information about the asterisk-bugs mailing list