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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 17 16:48:46 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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:                       SWP-1393 
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-05-17 16:48 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0122043) svnbot (reporter) - 2010-05-17 16:48
 https://issues.asterisk.org/view.php?id=17257#c122043 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 263637

U   branches/1.4/main/pbx.c

------------------------------------------------------------------------
r263637 | mmichelson | 2010-05-17 16:48:46 -0500 (Mon, 17 May 2010) | 8
lines

Remove arbitrary size limitation for hints.

(closes issue https://issues.asterisk.org/view.php?id=17257)
Reported by: tim_ringenbach
Patches:
      hints_crash_fix.diff uploaded by tim ringenbach (license 540)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=263637 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-17 16:48 svnbot         Checkin                                      
2010-05-17 16:48 svnbot         Note Added: 0122043                          
======================================================================




More information about the asterisk-bugs mailing list