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

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


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17257 
====================================================================== 
Reported By:                tim_ringenbach
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17257
Category:                   Core/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-28 11:17 CDT
Last Modified:              2010-05-17 16:56 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0122044) svnbot (reporter) - 2010-05-17 16:56
 https://issues.asterisk.org/view.php?id=17257#c122044 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 263638

_U  trunk/

------------------------------------------------------------------------
r263638 | mmichelson | 2010-05-17 16:56:41 -0500 (Mon, 17 May 2010) | 13
lines

Blocked revisions 263637 via svnmerge

........
  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=263638 

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




More information about the asterisk-bugs mailing list